Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ArgumentParser

Index

Properties

Static errors

errors: { argumentNotFound: (argumentName: string) => string; argumentRequiresOneValue: (argumentName: string) => string; errorInArgument: (argumentName: string) => string; invalidArgument: (argumentName: string) => string } = ...

Type declaration

  • argumentNotFound: (argumentName: string) => string
      • (argumentName: string): string
      • Parameters

        • argumentName: string

        Returns string

  • argumentRequiresOneValue: (argumentName: string) => string
      • (argumentName: string): string
      • Parameters

        • argumentName: string

        Returns string

  • errorInArgument: (argumentName: string) => string
      • (argumentName: string): string
      • Parameters

        • argumentName: string

        Returns string

  • invalidArgument: (argumentName: string) => string
      • (argumentName: string): string
      • Parameters

        • argumentName: string

        Returns string

args

args: CommandArgument<any>[]

Optional parsed

parsed: Map<string, any>

parser

parser: Parser

rawArgs

rawArgs: string[]

Methods

Static Private argumentNotFoundError

Static Private argumentRequiresOneValueError

Static Private errorInArgumentError

Static Private invalidArgumentError

parseArguments

resolveArgument

resolveArguments

Constructors

constructor

Generated using TypeDoc