set the choices of argument inner type
get the choices in string type, start with choices:
set the value from client shell
get the list of confilt option in string type, start with conflict with
specify the name of the option that conflicts with this option
specify the name of the options that conflicts with this option
set the default value true, only for BooleanOption.
set the default value
set the default value
set the default value
get the default value in string type, start with default:
get the description, and the output starts with description:
set the description
set the env variable's key so that the option can set its value from env
set the option value from en
get the env variable's key
get inner value in the specified type, T usually is among OptionValueSeq
get inner value in the specified type, T usually is among OptionValueSeq
get inner value in the specified type, T usually is among OptionValueSeq
set whether the option is hidden out of help command
imply the value of other options' value of true
imply the value of other option's value of T, T must satisfy isOptionValueType
get the imply map instring type, start with imply
set the imply value as true, which is used for inernal impletation and is not recommended for use in you project
set the imply value, which is used for inernal impletation and is not recommended for use in you project
initialize the final value. if this.isValid is false, then would throw error
test whether a string is this option's long or short flag
Test is allowed to merge variadic final value from different source, default true
set whether the option is mandatory
test whether the other Option variable's flag same in some parts
test whether the other NegateOption variable's flag same in some parts
whether is allowed to merge variadic final value from different source, default true
set the parsing function using for transforming from string to T alias fn = T fn(string v), where T is the inner value type
set the preset value as true
preset the value used for value option
preset the value used for variadic option
preset the value used for variadic option
get the preset value in string type, start with preset:
set the reduce process function for reducely processing the value parsed by innner parsing function or process function mainly used in variadic option alias fn = T fn(T v, T t), where T is the inner value type
set the process function for processing the value parsed by innner parsing function alias fn = T fn(T v), where T is the inner value type
set the range of option inner value when the option innner value type is int or double
get the range in string type, start with range:
get the type in string type, used for help command and help option start with type:
get the attribute name with camel-like
get the raw env variable in string type acccording to this.envKey which is set by this.env
get the innner value and is recommended to be used after calling this.initialize()
test whether is a bool option
test whether is optional option
Test is required option
test whether the argument is valid so that you can safely get the inner value after the return value is true
get the name
the option type. store the value that command line's options input. we can get the inner value after it is initialized.