import { Checkbox } from "https://dotland.deno.dev/x/cliffy@v0.6.1/packages/prompt/prompts/checkbox.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[]): booleanprotected
writeListItem(item: CheckboxOptionSettings, isSelected?: boolean)Static Methods
protected
mapItem(item: CheckboxOption, defaults?: string[]): CheckboxOptionSettingsprotected
mapValues(optValues: CheckboxValueOptions): CheckboxOption[]inject(value: string[]): void
prompt(options: CheckboxOptions): Promise<string[] | undefined>
separator(label?: string): CheckboxOption