Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/prompt/confirm.ts>ConfirmOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface ConfirmOptions
implements Omit<GenericSuggestionsOptions<boolean, string>, UnsupportedOptions>
import { type ConfirmOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/confirm.ts";

Confirm prompt options.

Properties

optional
keys: ConfirmKeys

Keymap to assign key names to prompt actions.

optional
active: string

Change active label. Default is Yes.

optional
inactive: string

Change inactive label. Default is No.