Module

x/cliffy/mod.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.19.0/mod.ts";

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

Returns

Promise<boolean>