import { type GenericPromptOptions } from "https://deno.land/x/cliffy@v1.0.0-rc.1/prompt/mod.ts";
Generic prompt options.
Properties
optional
default: TValueThe default value of the prompt.
optional
validate: (value: TRawValue) => ValidateResultValidate prompt value.
optional
keys: GenericPromptKeysKeymap to assign key names to prompt actions.
Enable cbreak mode. For more information see Deno.SetRawOptions.
optional
reader: Deno.Reader & { readonly rid: number; setRaw(mode: boolean, options?: Deno.SetRawOptions): void; }Change the prompt input stream.