@Option marks CLI options with short/long names and descriptions. groovy.cli.Unparsed captures remaining arguments. See subpackages for CLI implementations: groovy.cli.commons (Apache Commons), groovy.cli.picocli (Picocli).
| Class | Description |
|---|---|
| TypedOption | Map-backed command-line option metadata with a typed default value. |
| Exception | Description |
|---|---|
| CliBuilderException | Indicates an error while configuring or using CliBuilder. |
| Annotation Type | Description |
|---|---|
| Option | Indicates that a method or property can be used to set a CLI option. |
| OptionField | Convenience annotation combining Option and Field. |
| Unparsed | Indicates that a method or property will contain the remaining arguments. |
| UnparsedField | Convenience annotation combining Unparsed and Field. |