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

Interface AutocompleteOptions

packages/prompts/src/autocomplete.ts:86–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86export interface AutocompleteOptions<Value> extends AutocompleteSharedOptions<Value> {
87 /**
88 * The initially selected option from the list.
89 */
90 initialValue?: Value;
91
92 /**
93 * The starting value shown in the users input box.
94 */
95 initialUserInput?: string;
96}
97
98/**
99 * The `autocomplete` prompt combines a text input with a searchable list of options.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected