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 type must be boolean exactly. Boolean or Optional<Boolean> will not work.
Boolean
Optional<Boolean>