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.25.5/mod.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