MCPcopy Create free account
hub / github.com/bombshell-dev/clack / AutocompleteMultiSelectOptions

Interface AutocompleteMultiSelectOptions

packages/prompts/src/autocomplete.ts:269–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 * Options for the {@link autocompleteMultiselect} prompt
268 */
269export interface AutocompleteMultiSelectOptions<Value> extends AutocompleteSharedOptions<Value> {
270 /**
271 * The initially selected option(s) from the list.
272 */
273 initialValues?: Value[];
274
275 /**
276 * When `true` at least one option must be selected.
277 * @default false
278 */
279 required?: boolean;
280}
281
282/**
283 * The `autocompleteMultiselect` prompt combines the search functionality of autocomplete

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected