interface
util.ParseArgsConfig
interface ParseArgsConfig
- allowNegative?: boolean
If
true, allows explicitly setting boolean options tofalseby prefixing the option name with--no-. - strict?: boolean
Should an error be thrown when unknown arguments are encountered, or when arguments are passed that do not match the
typeconfigured inoptions. - tokens?: boolean
Return the parsed tokens. This is useful for extending the built-in behavior, from adding additional checks through to reprocessing the tokens in different ways.