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

x/cliffy/prompt/mod.ts>GenericPrompt#read

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method GenericPrompt.prototype.read
Re-export
import { GenericPrompt } from "https://deno.land/x/cliffy@v0.18.1/prompt/mod.ts";

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

Returns

Promise<boolean>