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

x/cliffy/mod.ts>Confirm.prompt

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Confirm.prompt
import { Confirm } from "https://deno.land/x/cliffy@v0.19.0/mod.ts";

Execute the prompt and show cursor on end.

Parameters

options: string | ConfirmOptions

Returns

Promise<boolean>