Module

x/cliffy/packages/prompt/mod.ts>GenericList

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class GenericList
extends GenericPrompt<T, V, S>
Abstract
import { GenericList } from "https://dotland.deno.dev/x/cliffy@v0.12.0/packages/prompt/mod.ts";

Properties

protected
index: number
protected
selected: number

Methods

protected
clear()
protected
getOptionByValue(value: string)
protected
height()
protected
read(): Promise<boolean>
protected
selectNext(): Promise<void>
protected
selectPrevious(): Promise<void>
protected
setPrompt(message: string)
protected
abstract
writeListItem(item: GenericListOptionSettings, isSelected?: boolean): void
protected
writeListItems()
import GenericList
import { GenericList } from "https://dotland.deno.dev/x/cliffy@v0.12.0/packages/prompt/mod.ts";