We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
An @Option of type boolean is interpreted as a mode flag. The boolean indicates whether the flag was present on the command line.
@Option
boolean
@Option(names = { "-n", "--dry-run" }) abstract boolean dryRun();
The method must return the primitive type boolean. Boolean or List<Boolean> will not work. There is no way to define a "repeatable mode flag".
Boolean
List<Boolean>