-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Prevent/override automatic help generation #1215
Comments
So do you want the help option support (e.g. for There is not currently explicit support for that. I have a tentative idea for the future which would allow this, feedback welcome: |
Yes, precisely that. I like the idea of the separation you have outlined. I would also include an option, as a boolean, to toggle auto generated help? Happy to work on this with you, just need to get an understanding of how the whole thing works :) |
As a work-around, you can override the help by defining your own option using the same flags. This isn't a complete solution as the autogenerated help would show both, but this might not affect you since you are displaying custom help anyway! e.g.
|
This is helpful and enough for my use case. Still happy to help, if you need hand. |
Thanks. I am planning to go through the issues and collect the help related issues before making any changes, to look for the more popular or common issues that come up. I'll post here when I do. |
(Collected help issues in #1225.) |
No additional likes on this issue in particular, closing in favour of #1225 with collected issues. Thank you for your contributions. |
Commander v6.1 allows allows disabling the built-in help option: #1325 |
I am successfully utilising the custom help, as per README.md however, I would like to prevent the output of the automatically generated help.
Is there a way to do this?
The text was updated successfully, but these errors were encountered: