ResolvedMultiselectPromptConfig
A multiselect prompt config with choices guaranteed non-empty.
Same guarantee as ResolvedSelectPromptConfig — choices are always present and non-empty.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/prompt/index.ts - Source link:
packages/dreamcli/src/core/prompt/index.ts:53
Signatures
ts
interface ResolvedMultiselectPromptConfig {}Members
Properties
choices
Non-empty list of selectable options (populated from flag enum values when omitted).
ts
choices: readonly [SelectChoice, SelectChoice];kind
Discriminant — multiple-choice selection prompt.
ts
kind: "multiselect";max
Maximum number of selections allowed (validated after input).
ts
max?: number;message
User-facing question text.
ts
message: string;min
Minimum number of selections required (validated after input).
ts
min?: number;