You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that currently Clikt prints only the first
The current behavior is Clikt stops at the first missing option, so the user has to re-run the command adding options one by one.
It would be nice if Clikt could collect and print all the failures at once (missing options, invalid values, etc)
classManyOpts: NoOpCliktCommand() {
val int by option().int().required()
val string by option().required()
}
The same goes when there's an error (it would be nice for the error message to include all the missing required options and all the options that can't be parsed):
$ .. many-opts --int=undefined
Usage: root many-opts [OPTIONS]
Error: Invalid value for "--int": undefined is not a valid integer
The text was updated successfully, but these errors were encountered:
Thanks for the library!
I'm using it to drive Bugzilla -> GitHub issues conversion tool: /~https://github.com/vlsi/bugzilla2github
I noticed that currently Clikt prints only the first
The current behavior is Clikt stops at the first missing option, so the user has to re-run the command adding options one by one.
It would be nice if Clikt could collect and print all the failures at once (missing options, invalid values, etc)
I would expect that the error message would include all the missing options rather than just the first.
So the user has to add options one-by-one.
The same goes when there's an error (it would be nice for the error message to include all the missing required options and all the options that can't be parsed):
The text was updated successfully, but these errors were encountered: