Skip to main content
Module

x/cliffy/prompt/mod.ts>GenericListOptionGroup

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

Generic list option group options.

Properties

name: string

The option label.

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

An array of child options.

optional
disabled: boolean

Disable option. Disabled options are displayed but cannot be selected.