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

Example of multiple level subcommands #145

Closed
mike-pittelko opened this issue Sep 1, 2021 · 1 comment
Closed

Example of multiple level subcommands #145

mike-pittelko opened this issue Sep 1, 2021 · 1 comment

Comments

@mike-pittelko
Copy link

mike-pittelko commented Sep 1, 2021

I'd like to implement something more complex than a simple one level command set, for example. Subcommands and help are listed as completed in the roadmap, but it's not clear how to make this work. Is there a simple example that could be added?

I'm trying to accomplish something like this:

>>> help
a
b
c
>>> a
does something
>>> c
c >>>  help
d
e
..
c >>> e
does something
c >>>  ..
>>> help
a
b
c
@mike-pittelko
Copy link
Author

Found the example I needed in branch v2. Thanks for the good work!

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