Package org.seedstack.seed.command
Annotation Type Argument
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface Argument
This annotation marks fields of a command to be injected with the argument value set at command invocation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intindexThe index of the argument.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdefaultValueThe default value to use if argument is not present.StringdescriptionThe description of the argument (used by the help command).booleanmandatoryIf the argument is mandatory.StringnameThe name of the argument.
-