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

x/cliffy/packages/prompt/prompts/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@v0.9.0/packages/prompt/prompts/toggle.ts";

Parameters

options: string | ToggleOptions

Returns

Promise<boolean>