-
When I use |
Beta Was this translation helpful? Give feedback.
Answered by
epage
Jan 23, 2024
Replies: 1 comment 10 replies
-
|
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So you want an argument to take a value but not show that it takes a value in the help?
From my experience, that goes against all common help conventions and, in my opinion, would be confusing to users / user hostile. Considering we are trying to make things easy to have a "high quality" CLI and we have to balance user requests for ideas off the beaten path with API bloat, binary size, and build times, this is not something we are going to support natively. If needed, you can use
override_help
to provide your own help string with the formatting you want. We are exploring generalizing our auto-help logic which might allow you to create this as you want in a reusable package.