Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICliStringChoiceArgGroupOptions<TChoices>

Type parameters

  • TChoices: CliStringChoices

    Type of the "choices" option

Hierarchy

  • ICliStringChoiceArgGroupOptions

Index

Properties

choices

choices: TChoices

Choices for this argument. For strict typing do e.g.

choices: ['foo', 'bar'] as const

Optional description

description: undefined | string

See ICliArgGroup.description with "Choices: ..." appended automatically

Optional hidden

hidden: undefined | false | true

Optional placeholder

placeholder: undefined | string

See ICliArgGroup.placeholder defaulting to "<value>"

Optional required

required: undefined | false | true

Generated using TypeDoc and MonoLisa