Skip to main content
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://deno.land/x/cliffy@v0.25.1/mod.ts";

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

Returns

Promise<boolean>