Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commander

Index

Type aliases

CommandConstructor

CommandConstructor: { constructor: any }

Type declaration

  • constructor: function
    • new __type(name?: undefined | string): Command
    • Parameters

      • Optional name: undefined | string

      Returns Command

CommanderErrorConstructor

CommanderErrorConstructor: { constructor: any }

Type declaration

  • constructor: function
    • new __type(exitCode: number, code: string, message: string): CommanderError
    • Parameters

      • exitCode: number
      • code: string
      • message: string

      Returns CommanderError

OptionConstructor

OptionConstructor: { constructor: any }

Type declaration

  • constructor: function
    • new __type(flags: string, description?: undefined | string): Option
    • Parameters

      • flags: string
      • Optional description: undefined | string

      Returns Option