Checks whether or not the given option accept more values.
Gets the value of an argument with the matching name (arg name).
Gets the value of an argument with the given index.
Gets the value of an option with the matching name (can be the long name, short name or arg name).
Gets the raw value of the given argument. Raw values are the values as given in the user command line.
Gets the raw value of the given option. Raw values are the values as given in the user command line.
Gets the raw values of the given option. Raw values are simple "String", not converted to the option type.
Gets the raw values of the given argument. Raw values are simple "String", not converted to the argument type.
Gets the raw values of the given option. Raw values are simple "String", not converted to the option type.
Checks whether or not the given argument has been assigned in the command line.
Checks whether or not the user has passed a "help" option and is asking for help.
Gets the value of an option marked as a flag.
Calling this method an a non-flag option throws an IllegalStateException.Checks whether or not the given option has been assigned in the command line.
Checks whether or not the given option has been seen in the user command line.
Checks whether or not the command line is valid, i.e. all constraints from arguments and options have been satisfied. This method is used when the parser validation is disabled.
Creates a command line object from the CLI. This object is intended to be used by the parser to set the argument and option values.
Generated using TypeDoc
The parser transforms a CLI (a model) into an CommandLine. This CommandLine has stored the argument and option values. Only instance of parser should create objects of this type.