Skip to main content
Module

x/cliffy/prompt/mod.ts>GenericListOption

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

Generic list option options.

Properties

value: TValue

The option value.

optional
name: string

The option label.

optional
disabled: boolean

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