import { GenericPrompt } from "https://dotland.deno.dev/x/cliffy@v0.22.2/prompt/mod.ts";
Generic prompt representation.
Constructors
new
protected
GenericPrompt(settings: S)Methods
protected
optional
body(): string | undefined | Promise<string | undefined>protected
defaults(): stringprotected
error(): string | undefinedprotected
hint(): string | undefinedprotected
isKey<K extends unknown, N extends keyof K>(): booleanCheck if key event has given name or sequence.
protected
message(): stringprotected
setErrorMessage(message: string)protected
submit(): Promise<void>