Optional
Readonly
clusterThe prefix of cluster arguments. If set, then eligible arguments that have this prefix will be considered a cluster. Has precedence over ParsingFlags.optionPrefix.
Optional
Readonly
completionThe completion index of a raw command line.
Optional
Readonly
formatThe formatting function for help messages. Use the format function. (Injection is necessary for tree-shaking of the formatter component.)
Optional
Readonly
optionThe prefix of option names. If set, then arguments that have this prefix will always be considered an option name.
Optional
Readonly
positionalThe marker(s) to delimit positional arguments (e.g. '--'
).
If set, then all arguments appearing after/within the marker(s) will be considered positional.
Should not conflict with an option name or include an equals sign.
Optional
programThe program name. It may be changed by the parser.
Optional
Readonly
similarityThe similarity threshold for option name suggestions in case of an unknown option error.
Values are given in percentage (e.g., 0.6
). Zero or NaN
means disabled.
Optional
Readonly
stdinThe symbol for the standard input (e.g., '-'
) to display in usage statements.
If not present, the standard input will not appear in usage statements.
Should not conflict with an option name.
The parsing flags.