floydhub/floyd-cli

Running floyd init with uppercase project name fails

RobertBiehl opened this issue · 0 comments

Observed behavior:

Robert$ floyd init DCGAN
Project name does not match your list of projects. Create your new project in the web dashboard:
	https://www.floydhub.com/projects/create

After creating the project in the browser the project name will be transformed to lowercase.

Running it again leads to the same result.

Robert$ floyd init DCGAN
Project name does not match your list of projects. Create your new project in the web dashboard:
	https://www.floydhub.com/projects/create

Expected behaviour:
floyd-cli should automatically lowercase the project name to have the same behaviour as the webinterface, or throw an error when using upper case characters.

Robert$ floyd init DCGAN
Project "dcgan" found in your list of projects. (All project names are lowercase.)
Project "dcgan" initialized in current directory