Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Cliffy.GenericPromptOptions
Re-export
import { type Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { GenericPromptOptions } = Cliffy;

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
optional
prefix: string