Skip to main content
Module

x/cliffy/prompt/input.ts>InputOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface InputOptions
implements GenericSuggestionsOptions<string, string>
import { type InputOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/input.ts";

Input prompt options.

Properties

optional
keys: InputKeys

Keymap to assign key names to prompt actions.

optional
minLength: number

Set minimum allowed length of input value.

optional
maxLength: number

Set maximum allowed length of input value.