Skip to content
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

Closed
remkop opened this issue Aug 5, 2017 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Aug 5, 2017

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 to CommandLine. Similar to usage(PrintStream), this method reads the version information from the annotated domain object and prints it to the specified stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant