Option
An optional command line parameter that takes a fixed number of values.
Options can take any fixed number of values, including 0.
Inheritors
Properties
If true, this option can be specified without a name e.g. -2
instead of -o2
If false, invocations must be of the form --foo=1
or -f1
. If true, the forms --foo 1
and -f 1
are also accepted.
Optional set of strings to use when the user invokes shell autocomplete on a value for this option.
Names that can be used for a secondary purpose, like disabling flag options.
Optional explicit key to use when looking this option up from a ValueSource
Functions
Called after this command's argv is parsed to transform and store the option's value.
The description of this option, usually a single line.
Information about this option for the help output.
Called after all of a command's parameters have been finalized to perform validation of the final value.