Skip to content

Interface: ConfirmOptions ​

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:296

Options for the confirm prompt.

Extends ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in

accessible?

boolean

‐

CommonOptions.accessible

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:42

active?

string

The label to use for the active (true) option.

Default

ts
"Yes";

‐

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:305

inactive?

string

The label to use for the inactive (false) option.

Default

ts
"No";

‐

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:310

initialValue?

boolean

The initial selected value (true or false).

Default

ts
true;

‐

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:315

input?

Readable

‐

CommonOptions.input

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:38

message

string

The message or question shown to the user above the input.

‐

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:300

output?

Writable

‐

CommonOptions.output

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:39

signal?

AbortSignal

‐

CommonOptions.signal

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:40

vertical?

boolean

Whether to render the options vertically instead of horizontally.

Default

ts
false;

‐

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:320

withGuide?

boolean

‐

CommonOptions.withGuide

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:41

Released under the MIT License