Replies: 1 comment 1 reply
-
Hi @mimendo, I would have added |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am looking for an easy way to standardize options so that everyone uses the same options for the same purposes.
What I was thinking is something like this:
Where
@Output
is@Option(names = {"-o, --output"})
To achieve this, I would like to do something like this:
For this to work, I would need the
@Option
annotation to also have the targetANNOTATION_TYPE
(note that my@Ouput
definition also has this target to make it recursive).And, of course, the
CommandLine
should search for annotations recursively (unless you know a better way to achieve the same result).This could be an exciting feature, and I would happily provide a pull request.
Let me know what you think :)
Picocli is great! Thanks for it!
Beta Was this translation helpful? Give feedback.
All reactions