MCPcopy
hub / github.com/claude-code-best/claude-code / taskGetHandler

Function taskGetHandler

src/cli/handlers/ant.ts:60–72  ·  view source on GitHub ↗
(
  id: string,
  opts: { list?: string },
)

Source from the content-addressed store, hash-verified

58}
59
60export async function taskGetHandler(
61 id: string,
62 opts: { list?: string },
63): Promise<void> {
64 const listId = opts.list || DEFAULT_LIST
65 const task = await getTask(listId, id)
66 if (!task) {
67 console.error(`Task not found: ${id}`)
68 process.exitCode = 1
69 return
70 }
71 console.log(JSON.stringify(task, null, 2))
72}
73
74export async function taskUpdateHandler(
75 id: string,

Callers 1

runFunction · 0.85

Calls 2

getTaskFunction · 0.85
errorMethod · 0.65

Tested by

no test coverage detected