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

x/dax/mod.ts>ConfirmOptions

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
interface ConfirmOptions
Re-export
import { type ConfirmOptions } from "https://deno.land/x/dax@0.24.1/mod.ts";

Options for showing confirming a yes or no question.

Properties

message: string

Message to display to the user.

optional
default: boolean | undefined

Default value.

optional
noClear: boolean

Whether to not clear the prompt text on selection.