-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Hide subcommands unless command is selected? #438
Comments
example showing the
|
It would make sense |
There are a whole bunch of options you can use to configure how the help is displayed. Play around and see if anything works for your use case. I typically use |
Barring that, you can actually write your own custom help formatter, though that is obviously significantly more work. |
Thanks for your feedback. It's indeed interesting. Your "Read The F |
Ah, well there ya go: Line 53 in a41b2e8
thank you @alecthomas |
You're welcome :) |
So I have some commands which have many sub-commands. When a user runs
exec -h
they see a lot of noise because each sub-command is listed. Is there a way to hide the sub-commands forcommand
unless the user doesexec command -h
?The text was updated successfully, but these errors were encountered: