Variable defaultParserOptsConst

defaultParserOpts: { deprecatedCommands: "error"; environmentPrefix: undefined; keyEqualsValueSyntax: true; logger: Logger; mustProvideCommand: true; negatedBooleanPrefix: "no-"; resolvers: Resolver[]; restSyntax: "collect"; shortFlagGroups: true; unrecognisedArgument: "throw"; unrecognisedCommand: "into-positional" } = ...

The default parser options to use. Merged with the opts passed to the Args constructor. Subject to change. These are opinionated defaults.

Type declaration

  • deprecatedCommands: "error"
  • environmentPrefix: undefined
  • keyEqualsValueSyntax: true
  • logger: Logger
  • mustProvideCommand: true
  • negatedBooleanPrefix: "no-"
  • resolvers: Resolver[]
  • restSyntax: "collect"
  • shortFlagGroups: true
  • unrecognisedArgument: "throw"
  • unrecognisedCommand: "into-positional"

Generated using TypeDoc