import { Toggle } from "https://deno.land/x/cliffy@v0.14.2/prompt/toggle.ts";
Methods
protected
format(value: boolean): stringprotected
getValue(): 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): boolean | stringStatic Methods
prompt(options: string | ToggleOptions): Promise<boolean>