bernd-wechner / Degoo

CLI tool(s) for working with Degoo cloud storage
Other
143 stars 41 forks source link

Support a single CLI command with options #13

Open bernd-wechner opened 3 years ago

bernd-wechner commented 3 years ago

Currently I've built this so it have a load of distinct command line utilities. That's nice in a way. They include:

degoo_cd
degoo_get
degoo_ll
degoo_login
degoo_ls
degoo_mkdir
degoo_path
degoo_props
degoo_put
degoo_pwd
degoo_rm
degoo_test
degoo_tree
degoo_user

It would be nice and others might also appreciate if all these had a way of being invoked through one CLI command for example:

degoo cd
degoo get
degoo ll
degoo login
degoo ls
degoo mkdir
degoo path
degoo props
degoo put
degoo pwd
degoo rm
degoo test
degoo tree
degoo user

Should be easy to support both methods. Just writing this note to remind myself to do it some time.

bernd-wechner commented 3 years ago

A small change in this direction went in here: https://github.com/bernd-wechner/Degoo/blob/040d78fe2ec14cf65d30c69c305abf00eb46511f/commands.py#L71

Has little meaning until we have an installer. Need to look at setuptools.