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 something like --helpfull which displays help for all subcommands #161

Open
claywilkinson opened this issue Apr 25, 2023 · 2 comments

Comments

@claywilkinson
Copy link
Contributor

It would be really nice to have an option to show the help for all subcommands vs. having to run --help for each subcommand recursively.

@kekeimiku
Copy link

Is there any way to achieve this now?

@claywilkinson
Copy link
Contributor Author

I believe it would still take a little bit of code. The easiest approach I think would be to derive ArgsInfo for everything, then you could call get_args_info() on the top level command to retrieve the json of the entire command structure, then render it as needed.

If you try, let me know how it turns out.

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

2 participants