Replies: 2 comments 1 reply
-
|
Clap's positional arguments, generally have a requirement on the previous positional argument (there are some rare exceptions). Despite that, we always render the usage as I've considered being more explicit / strict about this with |
Beta Was this translation helpful? Give feedback.
-
|
I'm not sure what the best way to handle this is, but with Another, alternative could be if I split the usage up to look like: but it sounds like you don't want to support that either. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I need a lot of commands like
app get [PATH [ATTR]]. I can instruct clap that ATTR requires the PATH argument, but the usage help text is generated likeapp get [PATH] [ATTR]].Any chance to change this behavior?
Beta Was this translation helpful? Give feedback.
All reactions