Package-level declarations
Types
A callback that transforms all the values for a call to the call type.
The input list will always have a size equal to nvalues
A callback that transforms all of the calls to the final option type.
The input list will have a size equal to the number of times the option appears on the command line.
A block that converts a flag value from one type to another
An Option that has no values.
A receiver for options transformers.
An option that functions as a property delegate
A receiver for options transformers.
A callback validates the final option type
An Option that takes one or more values.
A block that converts a single value from one type to another
A callback that transforms a single value from a string to the value type
A container for a value that can have a default value and can be manually set
Functions
Check the final argument value and raise an error if it's not valid.
Check the final option value and raise an error if it's not valid.
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.
Set a default value for an option.
If the option is not called on the command line (and is not set in an envvar), use value for the option.
Set a default value for an option from a lazy builder which is only called if the default value is used.
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.
Mark this option as deprecated in the help output.
Add an eager option to this command that, when invoked, runs action.
Create a property delegate option.
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.
Change to option to take any number of values, separated by a string delimiter.
Change to option to take any number of values, separated by a regex.
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.
Add an eager option to this command that, when invoked, prints a version message and exits.
Create a copy with a new default value
Create a copy with a new explicit value