Module com.github.rvesse.airline
Annotation Type DefaultOption
-
@Retention(RUNTIME) @Target(FIELD) @Documented public @interface DefaultOptionAnnotation to mark a field as the default optionThis annotation can only be used once on a command field provided the following requirements are met:
- The field is also annotated with
Option - The Option annotation has an arity of 1
- The Option annotation has a type of
OptionType.COMMAND - The command does not have any field annotated with
Arguments
- The field is also annotated with