Module

x/cliffy/prompt/select.ts>SelectOptions

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface SelectOptions
import { type SelectOptions } from "https://dotland.deno.dev/x/cliffy@v1.0.0-rc.4/prompt/select.ts";

Select prompt options.

Properties

optional
keys: SelectKeys

Keymap to assign key names to prompt actions.

options: Array<
| Extract<TValue, string | number>
| Extract<WidenType<TValue>, string | number>
>

An array of child options.