Annotation Type CommandLine.Command
- Enclosing class:
CommandLine
Marks a command class.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Other names the command answers to as a subcommand.String[]Lines of help text.booleanAdds-h/--helpand-V/--version.The name the command is invoked by.Class<?>[]Command classes that are subcommands of this one.String[]Lines--versionprints.
-
Element Details
-
name
String nameThe name the command is invoked by. Defaults to the class name in lower case.- Default:
""
-
aliases
-
description
-
version
-
mixinStandardHelpOptions
boolean mixinStandardHelpOptionsAdds-h/--helpand-V/--version.- Default:
false
-
subcommands
-