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

x/cliffy/prompt/mod.ts>InputOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface InputOptions
implements GenericSuggestionsOptions<string, string>
import { type InputOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/mod.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.