Returns the list of actions that were defined for this CommandLineParser object.
Returns a collection of the parameters that were defined for this object.
If {@link CommandLineParameterProvider.defineCommandLineRemainder} was called, this object captures any remaining command line arguments after the recognized portion.
Defines a new action that can be used with the CommandLineParser instance.
Defines a command-line parameter whose value must be a string from a fixed set of allowable choices (similar to an enum).
Defines a rule that captures any remaining command line arguments after the recognized portion.
Defines a command-line switch whose boolean value is true if the switch is provided, and false otherwise.
Defines a command-line parameter whose argument is an integer.
Defines a command-line parameter whose argument is a single text string. The parameter can be specified multiple times to build a list.
Defines a command-line parameter whose argument is a single text string.
The program entry point will call this method to begin parsing command-line arguments and executing the corresponding action.
the command-line arguments to be parsed; if omitted, then the process.argv will be used
This is similar to {@link CommandLineParser.execute}, except that execution errors simply cause the promise to reject. It is the caller's responsibility to trap
Retrieves the action with the specified name. If no matching action is found, an exception is thrown.
Returns the CommandLineChoiceParameter with the specified long name.
Returns the CommandLineFlagParameter with the specified long name.
Returns the CommandLineIntegerParameter with the specified long name.
Returns the CommandLineStringListParameter with the specified long name.
Returns the CommandLineStringParameter with the specified long name.
Generates the command-line help text.
Retrieves the action with the specified name. If no matching action is found, undefined is returned.
Generated using TypeDoc
Reports which CommandLineAction was specified on the command line.
The value will be assigned before onExecute() is invoked.