Module

x/lume/deps/cliffy.ts>GenericPromptOptions

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface GenericPromptOptions
import { type GenericPromptOptions } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";

Generic prompt options.

Type Parameters

TValue
TRawValue

Properties

message: string
optional
default: TValue
optional
hideDefault: boolean
optional
validate: (value: TRawValue) => ValidateResult
optional
transform: (value: TRawValue) => TValue | undefined
optional
hint: string
optional
pointer: string
optional
indent: string
optional
keys: GenericPromptKeys
optional
cbreak: boolean
optional
prefix: string
import GenericPromptOptions
import { GenericPromptOptions } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/cliffy.ts";