import { Select } from "https://deno.land/x/cliffy@v0.8.0/packages/prompt/mod.ts";
Type Parameters
S extends SelectSettings
Methods
protected
format(value: string): stringprotected
getValue(): stringprotected
handleEvent(event: KeyEvent): Promise<boolean>protected
transform(value: string): stringprotected
validate(value: string): booleanprotected
writeListItem(item: SelectOptionSettings, isSelected?: boolean)Static Methods
protected
mapItem(item: SelectOption): SelectOptionSettingsprotected
mapValues(optValues: SelectValueOptions): SelectOption[]inject(value: string): void
prompt(options: SelectOptions): Promise<string | undefined>