Skip to main content
Module

x/cliffy/prompt/mod.ts>ConfirmOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface ConfirmOptions
implements Omit<GenericSuggestionsOptions<boolean, string>, UnsupportedOptions>
import { type ConfirmOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/mod.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.