-
Notifications
You must be signed in to change notification settings - Fork 355
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
feat: added usage message replacement feature #786
Conversation
Codecov ReportBase: 99.42% // Head: 99.42% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #786 +/- ##
=======================================
Coverage 99.42% 99.42%
=======================================
Files 16 16
Lines 3977 3989 +12
=======================================
+ Hits 3954 3966 +12
Misses 23 23
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Thanks! Moving on with 2.4. |
Usage message replacement
Now you able to set custom usage message or pass callback function that will generate it for you.
Example:
Output will be:
To void usage message replacement in subcommand and be able to get generated usage message just set with empty string:
Help message for
app -h
:Help message for
app sub -h
:Footer newline behavior
Moved to #796