Module com.github.rvesse.airline
Annotation Interface Command
Marks a class as a command
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDescription of the commandString[]The group(s) this command should belong to.booleanIf true, this command won't appear in help
-
Element Details
-
name
String nameName of the command- Returns:
- Command name
-
description
String descriptionDescription of the command- Returns:
- Command description
- Default:
""
-
groupNames
String[] groupNamesThe group(s) this command should belong to. if left empty the command will belong to the default command groupIf a group name contains spaces then this is interpreted as referring to a sub-group, for example
foo barwould place this command into thebargroup which would be placed as a sub-group of thefoogroup.- Returns:
- Command groups
- Default:
{}
-