Option With Values
An Option that takes one or more values.
Functions
Create a new option that is a copy of this one with the same transforms.
Create a new option that is a copy of this one with different transforms.
Called after this command's argv is parsed to transform and store the option's value.
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.
Implementations must call ParameterHolder.registerOption
Properties
Called in finalize to transform all invocations into the final value.
Called after all parameters have been finalized to validate the output of transformAll
Called in finalize to transform each value provided to each invocation.
Extensions
Check the final option value and raise an error if it's not valid.
Check the final argument value and raise an error if it's not valid.
Convert the option based on a fixed set of values.
Restrict the option to a fixed set of values.
Convert the option's value type.
Turn an option into a flag that counts the number of times the option occurs on the command line.
If the option is not called on the command line (and is not set in an envvar), call the value and use its return value for the option.
Use -
as the default value for an inputStream option.
Use -
as the default value for an outputStream option.
Mark this option as deprecated in the help output.
Convert the option to an option group based on a fixed set of values.
Convert the option into a set of flags that each map to an option group.
Convert the option to an InputStream.
Convert the option to an OutputStream.
Convert the option to a Path.
If the option isn't given on the command line, prompt the user for manual input.
If the option is not called on the command line (and is not set in an envvar), throw a MissingOption.
Restrict the option values to fit into a range.
Change to option to take any number of values, separated by a regex.
Change to option to take any number of values, separated by a string delimiter.
Transform all calls to the option to the final option type.
Change the number of values that this option takes.
Check the final option value and raise an error if it's not valid.