Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Cliffy.Toggle.prompt
import { Cliffy } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/original_deps.ts";
const { Toggle } = Cliffy;

Execute the prompt and show cursor on end.

Parameters

options: string | ToggleOptions

Returns

Promise<boolean>