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.boolean
If 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 bar
would place this command into thebar
group which would be placed as a sub-group of thefoo
group.- Returns:
- Command groups
- Default:
{}
-