Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CCliStringChoiceArgGroup<Optional, Choices>

Command-line argument group whose value is one of the choices provided

Type parameters

Hierarchy

Index

Constructors

Protected constructor

Properties

options

options: CCliStringChoiceArgGroupOptions<Optional, Choices>

Accessors

description

hidden

  • get hidden(): boolean

optional

  • get optional(): boolean

placeholder

  • get placeholder(): string

Methods

_suggest

  • _suggest(args: string[]): string[]

Private assertOneOfChoices

  • assertOneOfChoices(arg: string): assertsarg is Choices[number]

Protected assertOneOrMoreArgs

  • assertOneOrMoreArgs(args: unknown[]): void

Protected assertSingleArg

  • assertSingleArg(args: unknown[]): void

parse

undefinedAsValue

Static create

Generated using TypeDoc and MonoLisa