Module

x/cliffy/prompt/mod.ts>GenericPromptOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface GenericPromptOptions
import { type GenericPromptOptions } from "https://dotland.deno.dev/x/cliffy@v0.19.1/prompt/mod.ts";

Generic prompt options.

Properties

message: string
optional
default: T
optional
validate: (value: V) => ValidateResult
optional
transform: (value: V) => T | undefined
optional
hint: string
optional
pointer: string
optional
indent: string
optional
keys: GenericPromptKeys
optional
cbreak: boolean
import GenericPromptOptions
import { GenericPromptOptions } from "https://dotland.deno.dev/x/cliffy@v0.19.1/prompt/mod.ts";