Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CliParseEvent

Hierarchy

Index

Constructors

constructor

Properties

config

event

event: string | string[]

globals

globals: OptionConfig[]

isRootCommand

isRootCommand: boolean

Accessors

cli

  • get cli(): Cli
  • Returns Cli

Methods

Protected cancel

  • cancel(): void

canceled

  • canceled(cb: function): this
  • Parameters

    • cb: function
        • (): void
        • Returns void

    Returns this

exit

  • exit(code?: number): void
  • Parameters

    • Default value code: number = 0

    Returns void

isCanceled

  • isCanceled(): boolean

proceed

  • proceed(cb: function): this
  • Parameters

    • cb: function
        • (): void
        • Returns void

    Returns this

shouldExit

  • shouldExit(): boolean

stopIfExit

  • stopIfExit(): this

Generated using TypeDoc