Skip to main content
Module

x/cliffy/prompt.ts>Input

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Input
extends GenericInput<string, InputSettings>
import { Input } from "https://deno.land/x/cliffy@v0.7.1/prompt.ts";

Methods

protected
format(value: string): string
protected
transform(value: string): string | undefined
protected
validate(value: string): boolean

Static Methods

prompt(options: string | InputOptions): Promise<string | undefined>