Module

x/cliffy/prompt/toggle.ts>Toggle.prompt

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

Execute the prompt and show cursor on end.

Parameters

options: string | ToggleOptions

Returns

Promise<boolean>