Module com.github.rvesse.airline
Annotation Type Command
-
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface CommandMarks a class as a command
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameName of the command
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdescriptionDescription of the commandjava.lang.String[]groupNamesThe group(s) this command should belong to.booleanhiddenIf true, this command won't appear in help
-
-
-
-
hidden
boolean hidden
If true, this command won't appear in help- Returns:
- Whether this command is hidden
- Default:
- false
-
-
-
groupNames
java.lang.String[] groupNames
The 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:
- {}
-
-