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

x/lume/deps/cliffy.ts>GenericPromptOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface GenericPromptOptions
Re-export
import { type GenericPromptOptions } from "https://deno.land/x/lume@v1.16.1/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