MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / formatAmbiguousTaskMatches

Function formatAmbiguousTaskMatches

src/cli/helpers/taskResolution.ts:15–20  ·  view source on GitHub ↗
(tasks: TaskInfo[])

Source from the content-addressed store, hash-verified

13}
14
15function formatAmbiguousTaskMatches(tasks: TaskInfo[]): string {
16 return tasks
17 .slice(0, 5)
18 .map((task) => `${task.title} (${task.path})`)
19 .join(", ");
20}
21
22export async function resolveTaskForCli(
23 plugin: TaskNotesPlugin,

Callers 1

resolveTaskForCliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected