Skip to main content
Module

x/cliffy/examples/prompt/toggle.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
File
#!/usr/bin/env -S deno run
import { Toggle } from "../../prompt/toggle.ts";
const confirmed: boolean = await Toggle.prompt("Can you confirm?");
console.log({ confirmed });