Interface IParseArgsConfig

Hierarchy

  • ParseArgsConfig
    • IParseArgsConfig

Properties

allowPositionals?: boolean

Whether this command accepts positional arguments.

args?: string[]

Array of argument strings.

description: string
strict?: boolean

Should an error be thrown when unknown arguments are encountered, or when arguments are passed that do not match the type configured in options.

Default

true
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.

Default

false
usage: string

Generated using TypeDoc