MCPcopy
hub / github.com/callumalpass/tasknotes / handler

Function handler

src/cli/commands/captureCommand.ts:70–77  ·  view source on GitHub ↗
(plugin, params: CliData)

Source from the content-addressed store, hash-verified

68 },
69 },
70 async handler(plugin, params: CliData): Promise<string> {
71 const { taskData, usedNlp } = buildTaskCreationDataFromCli(plugin, params);
72 const result = await plugin.taskService.createTask(taskData);
73 return formatCliJson({
74 ...formatTaskSummary(result.taskInfo),
75 usedNlp,
76 });
77 },
78};

Callers 5

onMethod · 0.50
onLifecycleMethod · 0.50
invokeMetadataChangedFunction · 0.50
invokeMetadataChangedFunction · 0.50

Calls 4

formatCliJsonFunction · 0.90
formatTaskSummaryFunction · 0.90
createTaskMethod · 0.65

Tested by 2

invokeMetadataChangedFunction · 0.40
invokeMetadataChangedFunction · 0.40