-
Notifications
You must be signed in to change notification settings - Fork 418
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
Programmatic API guide for picocli 4.1 (#885) #889
Conversation
Codecov Report
@@ Coverage Diff @@
## master #889 +/- ##
=========================================
Coverage 92.84% 92.84%
Complexity 388 388
=========================================
Files 2 2
Lines 5812 5812
Branches 1512 1512
=========================================
Hits 5396 5396
Misses 205 205
Partials 211 211 Continue to review full report at Codecov.
|
Merged. Thank you! I will probably replace the old 3.0-programmatic-api document with a link to the latest one. |
Thanks a lot for the PR! Awesome work! I changed it a bit to use lambdas which is nice and concise. I renamed the file to remove the version number and redirect the old https://picocli.info/picocli-3.0-programmatic-api.html to the new doc. I also shortened the first example and expanded the example in the Execute section (near the end). Let me know what you think. |
Great improvements, thanks for reviewing my PR. One small glitch I came across: The usage help message of the first example states:
If I run the command and specify Is this the intended behaviour? |
@deining Good catch! That was a bug: our IExecutionHandler should also handle requests for help. Fixed now. |
No description provided.