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
Go to Latest
File
#!/usr/bin/env -S deno run --unstable
import { Toggle } from "../../prompt/toggle.ts";
const confirmed: boolean = await Toggle.prompt("Can you confirm?");
console.log({ confirmed });