import { Select } from "https://dotland.deno.dev/x/cliffy@v0.15.0/prompt/select.ts";
Methods
protected
format(value: string): stringprotected
getValue(): stringprotected
handleEvent(event: KeyEvent): Promise<boolean>protected
transform(value: string): stringprotected
validate(value: string): boolean | stringprotected
writeListItem(item: SelectOptionSettings, isSelected?: boolean)Static Methods
protected
mapItem(item: SelectOption): SelectOptionSettingsprotected
mapOptions(options: SelectOptions): SelectValueSettingsprotected
mapValues(optValues: SelectValueOptions): SelectOption[]inject(value: string): void
prompt(options: SelectOptions): Promise<string>