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

command option to print hierarchy #14

Open
jesteria opened this issue Jul 17, 2018 · 0 comments
Open

command option to print hierarchy #14

jesteria opened this issue Jul 17, 2018 · 0 comments

Comments

@jesteria
Copy link
Member

(Optionally-enabled) (manage) command/option or other tool to print command hierarchy, like tree, (with descriptions and/or argument signatures).

For example:

$ manage server --help-tree
manage server    manage servers
|– user          manage users via ansible
|  |– add        add user logins
|  |– delete     mark logins for deletion
…

Above, the --help-tree option operates like --help, immediately printing a description of the hierarchy and exiting.

This could be offered by the manage command, but not enabled by default for other commands that make use of argcmdr; rather, for these, it should be easy to add or enable.

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

No branches or pull requests

1 participant