SelectChoice
A selectable option for SelectPromptConfig and MultiselectPromptConfig prompts.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/prompt.ts - Source link:
packages/dreamcli/src/core/schema/prompt.ts:92
Signatures
ts
interface SelectChoice {}Members
Properties
description
Optional description shown alongside the choice.
ts
description?: string;label
Display label shown to the user.
ts
label?: string;value
The value returned when this choice is selected.
ts
value: string;