-
Notifications
You must be signed in to change notification settings - Fork 429
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
few points from a picocli beginner #1366
Comments
Hi @peutch, thanks for your feedback! Glad you like picocli!
Good point, I guess it should be just
Not sure what you mean. An externalized declaration file for what? For the options? Or for the help message? What problem are we trying to solve here?
No despair is good! :-) |
That's #1370.
No problem, just new «facility». Suppose you have sort of META-INF/picocli.xml defining 'rootcmd' the main/top command.
Not a problem here also, I just got some difficulties with the programmatic API setting all the subcommands so to call their execute method and finally I went to create annotated wrapping classes for them. |
And now also another last point (I think).
|
Hmm, to be honest I am not interested currently in building such a facility.
I should be possible to build something like that with the |
Hi,
Moving from commons-cli to picocli both using annotation and programmatic API, it is really nice!
Why displaying
[COMMAND...]
and not just[COMMAND]
, does help for multiple commands in one run possible?Because in my simple test case, it always displays help for the first command only.
2. Could it be a long-term dev to have a third approach using an externalized declaration file similar to what is done in JPA/ORM for which can be used annotations, runtime/programmatic API, and XML (or another format)? Is there any standard that could be interesting to look at for this? (in the scope of CWL?)
3. I don't despair of making my case with many subcommands works using only the programmatic API!!
Thanks
The text was updated successfully, but these errors were encountered: