ConfirmPromptConfig
Yes/no confirmation prompt — maps to boolean flags. Part of PromptConfig.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/prompt.ts - Source link:
src/core/schema/prompt.ts:36
Signatures
ts
interface ConfirmPromptConfig extends PromptConfigBase {}Members
Properties
default
Value used when the user submits an empty line (presses Enter). Also drives the displayed hint: true → (Y/n), false → (y/N).
ts
default?: boolean;kind
Discriminator identifying this as a yes/no confirmation prompt.
ts
kind: "confirm";message
The question displayed to the user.
ts
message: string;