x/cliffy/examples/prompt/toggle.ts
12345678#!/usr/bin/env -S deno runimport { Toggle } from "../../prompt/toggle.ts";const confirmed: boolean = await Toggle.prompt("Can you confirm?");console.log({ confirmed });