Options
All
  • Public
  • Public/Protected
  • All
Menu

This command might be runnable by itself, and might also have subcommands.

It can be constructed whole, or built up yargs-style.

Hierarchy

  • YargCommandWord

Implements

Index

Constructors

constructor

Properties

commandName

commandName: string

conflictResolution

conflictResolution: ConflictResolution

description

description: string

nestedCommands

nestedCommands: YargCommand[]

Optional runnableCommand

runnableCommand: YargRunnableCommandSpec = undefined

warnings

warnings: string[]

Accessors

handleInstructions

isRunnable

  • get isRunnable(): boolean

Methods

addHelpMessages

  • addHelpMessages(strs: string[]): void

beRunnable

  • beRunnable(): void

build

command

demandCommand

  • demandCommand(): this

option

  • option(parameterName: string, opts: ParameterOptions): YargBuilder

withParameter

withSubcommand

Generated using TypeDoc