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
No way of programmatically displaying help for --show-hidden #2369
Comments
You were close, have a look at (This is an end-user option rather than an author option.) |
Yes, but I am asking for an author option. |
What is the use case for this? I understand what you are asking, but I am wondering when you would use this? |
So that I can call Why have |
Not sure if you were serious or not, but I'll answer as if it was a genuine question. To allow programatically showing the help. The same help as the user normally sees, with the hidden options hidden. |
When hiding options with
.hide()
or thehide
property and trying to output the help documentation usingyargs.showHelp()
, there is no way to also show the hidden values.Expected to see one of:
yargs.showHelp({ hidden: true })
yargs.showHelpHidden(…args)
The text was updated successfully, but these errors were encountered: