import { Input } from "https://deno.land/x/wmill@v1.364.1/deps.ts";
Input prompt representation.
import { Input } from "./mod.ts";
const confirmed: string = await Input.prompt("Enter your name");
Methods
protected
format(value: string): stringFormat output value.
protected
getValue(): stringGet input value.
protected
success(value: string): string | undefinedprotected
transform(value: string): string | undefinedMap input value to output value.
protected
validate(value: string): boolean | stringValidate input value.
getDefaultSettings(options: InputOptions): InputSettings