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

Interface SelectKeyOptions

packages/core/src/prompts/select-key.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import Prompt, { type PromptOptions } from './prompt.js';
2
3export interface SelectKeyOptions<T extends { value: string }>
4 extends PromptOptions<T['value'], SelectKeyPrompt<T>> {
5 options: T[];
6 caseSensitive?: boolean;
7}
8export default class SelectKeyPrompt<T extends { value: string }> extends Prompt<T['value']> {
9 options: T[];
10 cursor = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected