Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KawkahCommand

Hierarchy

Index

Constructors

constructor

Properties

Protected _name

_name: string

core

Accessors

Protected _command

Protected assert

  • get assert(): assert

Protected utils

Methods

Protected _option

abort

about

action

alias

aliasFor

arg

args

arrayFor

booleanFor

coerceFor

completionsFor

context

contextFor

defaultFor

demandFor

denyFor

describe

describeFor

example

exec

extendFor

external

flag

flags

help

helpFor

maxArgs

  • maxArgs(count: number): this
  • The maximum args allowed for the command.

    example

    .maxArgs(2);

    Parameters

    • count: number

      the count number.

    Returns this

maxFlags

  • maxFlags(count: number): this
  • The maximum flags allowed for the command.

    example

    .maxFlags(2);

    Parameters

    • count: number

      the count number.

    Returns this

minArgs

  • minArgs(count: number): this
  • The minimum args allowed for the command.

    example

    .minArgs(2);

    Parameters

    • count: number

      the count number.

    Returns this

minFlags

  • minFlags(count: number): this
  • The minimum flags allowed for the command.

    example

    .minFlags(2);

    Parameters

    • count: number

      the count number.

    Returns this

numberFor

options

requiredFor

skip

skipFor

spread

stringFor

typeFor

validateFor

variadicFor

Generated using TypeDoc