Skip to main content
Deno 2 is finally here 🎉️
Learn more
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>
Re-export
Abstract
import { GenericList } from "https://deno.land/x/cliffy@0.12.1/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()