Constructors

Properties

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

Type declaration

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

        • argumentName: string

        Returns string

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

        • argumentName: string

        Returns string

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

        • argumentName: string

        Returns string

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

        • argumentName: string

        Returns string

args: CommandArgument<any>[]
parsed?: Map<string, any>
parser: Parser
rawArgs: string[]

Methods

  • Type Parameters

    • A extends any[]

    Parameters

    Returns Promise<void>

  • Type Parameters

    • A extends any[]

    Parameters

    Returns Promise<MapArguments<A>>

Generated using TypeDoc