Add a version
attribute to @Command
and a CommandLine:printCommandVersion
method
#162
Labels
Milestone
version
attribute to @Command
and a CommandLine:printCommandVersion
method
#162
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: