Skip to content

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.

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;

See Also

Released under the MIT License.