floydhub / floyd-cli

Command line tool for FloydHub - the fastest way to build, train, and deploy deep learning models
https://floydhub.com
Apache License 2.0
156 stars 34 forks source link

Catch bad arguments during `floyd [data] init` #213

Closed ReDeiPirati closed 6 years ago

ReDeiPirati commented 6 years ago

E.g.

(cli-venv) fh:tmp ReDeiPirati $ floyd data init /
Argument '/' doesn't match any recognized pattern:
    floyd [data] init <project_or_dataset_name>
    floyd [data] init <namespace>/<project_or_dataset_name>
    floyd [data] init <namespace>/[projects|dataset]/<project_or_dataset_name>

 Note: Argument can contains only alphanumeric and - chars