Skip to content

ResolvedMultiselectPromptConfig

A multiselect prompt config with choices guaranteed non-empty.

Same guarantee as ResolvedSelectPromptConfig — choices are always present and non-empty.

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;

See Also

Released under the MIT License.