Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/cliffy@v1.0.0-rc.1/prompt/toggle.ts";

Execute the prompt.

Parameters

options: string | ToggleOptions

Returns

Promise<boolean>