import { Checkbox } from "https://deno.land/x/cliffy@v0.14.0/mod.ts";
Methods
protected
checkValue()protected
format(value: string[]): stringprotected
getValue(): string[]protected
handleEvent(event: KeyEvent): Promise<boolean>protected
transform(value: string[]): string[]protected
validate(value: string[]): boolean | stringprotected
writeListItem(item: CheckboxOptionSettings, isSelected?: boolean)Static Methods
protected
mapItem(item: CheckboxOption, defaults?: string[]): CheckboxOptionSettingsprotected
mapOptions(options: CheckboxOptions): CheckboxValueSettingsprotected
mapValues(optValues: CheckboxValueOptions): CheckboxOption[]inject(value: string[]): void
prompt(options: CheckboxOptions): Promise<string[]>
separator(label?): CheckboxOption