ResolvedSelectPromptConfig
A select prompt config with choices guaranteed non-empty.
The resolution chain populates choices from FlagSchema.enumValues when the user's PromptConfig omits them.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/prompt/index.ts - Source link:
packages/dreamcli/src/core/prompt/index.ts:38
Signatures
ts
interface ResolvedSelectPromptConfig {}Members
Properties
choices
Non-empty list of selectable options (populated from flag enum values when omitted).
ts
choices: readonly [SelectChoice, SelectChoice];kind
Discriminant — single-choice selection prompt.
ts
kind: "select";message
User-facing question text.
ts
message: string;