Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/prompt/toggle.ts>ToggleOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface ToggleOptions
implements GenericPromptOptions<boolean, string>
import { type ToggleOptions } from "https://deno.land/x/cliffy@v0.17.0/prompt/toggle.ts";

Generic prompt options.

Properties

optional
active: string
optional
inactive: string
optional
keys: ToggleKeys