-
Notifications
You must be signed in to change notification settings - Fork 422
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
Add a version
attribute to @Command
and a CommandLine:printCommandVersion
method
#162
Labels
Milestone
Comments
3 tasks
remkop
added a commit
that referenced
this issue
Dec 2, 2020
MarkoMackic
pushed a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
MarkoMackic
added a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
This reverts commit 5217238.
MarkoMackic
added a commit
to MarkoMackic/picocli
that referenced
this issue
Oct 17, 2021
This reverts commit 5217238.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a
version
attribute to@Command
:The
version
attribute is a string, intended to be used by Command authors to specify version information.Add a
printCommandVersion(PrintStream)
method toCommandLine
. Similar tousage(PrintStream)
, this method reads the version information from the annotated domain object and prints it to the specified stream.The text was updated successfully, but these errors were encountered: