Module

x/cliffy/prompt.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.6.1/prompt.ts";

Properties

protected
index: number
protected
selected: number

Methods

protected
clear()
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.6.1/prompt.ts";