Module

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

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

Read user input from stdin, handle events and validate user input.

Returns

Promise<boolean>