import { Toggle } from "https://dotland.deno.dev/x/cliffy@v0.6.1/packages/prompt/prompts/toggle.ts";
Methods
protected
format(value: boolean): stringprotected
handleEvent(event: KeyEvent): Promise<boolean>protected
read(): Promise<boolean>protected
selectActive()protected
selectInactive()protected
setPrompt(message: string)protected
transform(value: string): boolean | undefinedprotected
validate(value: string): booleanStatic Methods
prompt(options: string | ToggleOptions): Promise<boolean | undefined>