Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a single CLI command with options #13

Open
bernd-wechner opened this issue Feb 26, 2021 · 1 comment
Open

Support a single CLI command with options #13

bernd-wechner opened this issue Feb 26, 2021 · 1 comment

Comments

@bernd-wechner
Copy link
Owner

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
Copy link
Owner Author

A small change in this direction went in here:

if not command.startswith(P):

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant