Skip to main content
Module

x/cliffy/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
Re-export
import { type GenericPromptOptions } from "https://deno.land/x/cliffy@v0.19.2/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