Options
All
  • Public
  • Public/Protected
  • All
Menu

Command option interface

Hierarchy

  • ICommandOption

Index

Properties

Optional default

default: any

Default option value

Optional description

description: string

Describe the option to be listed with help

flag

Option flag syntax.

Optional fn

Value processing function or RegExp - Useful for accepting multiple values for same flag

Optional hidden

hidden: boolean

Indicate if the option should be hidden from the help and usage outputs