MCPcopy Create free account
hub / github.com/cortexkit/magic-context / selectOne

Method selectOne

packages/cli/src/lib/prompts.ts:66–66  ·  view source on GitHub ↗
(message: string, options: SelectOption[])

Source from the content-addressed store, hash-verified

64 },
65 ): Promise<string>;
66 selectOne(message: string, options: SelectOption[]): Promise<string>;
67 selectMany(message: string, options: SelectOption[], initial?: string[]): Promise<string[]>;
68 /**
69 * Scrollable list you can also narrow by typing (type-ahead filter). Used

Callers 5

chooseEmbeddingFunction · 0.65
runSetupFunction · 0.65
runIssueFlowFunction · 0.65
promptMemoryActionFunction · 0.65
runDreamerSetupFunction · 0.65

Implementers 3

MockPromptspackages/cli/src/lib/dreamer-setup.tes
MockPromptspackages/cli/src/commands/doctor-pi.te
MockPromptspackages/cli/src/commands/setup-pi.tes

Calls

no outgoing calls

Tested by

no test coverage detected