MCPcopy
hub / github.com/ginobefun/BestBlogs / writeJson

Function writeJson

cli/src/render/output.ts:21–23  ·  view source on GitHub ↗
(payload: unknown)

Source from the content-addressed store, hash-verified

19}
20
21export function writeJson(payload: unknown): void {
22 process.stdout.write(JSON.stringify({ success: true, data: payload }, null, 2) + '\n')
23}
24
25/**
26 * 渲染候选列表(discover today/for-you/following/search 共用)。

Callers 10

registerExplainCommandsFunction · 0.85
registerCaptureCommandsFunction · 0.85
renderHighlightListFunction · 0.85
registerTopicsCommandsFunction · 0.85
registerBriefCommandsFunction · 0.85
registerDiscoverCommandsFunction · 0.85
registerTrendingCommandFunction · 0.85
registerReadCommandsFunction · 0.85
registerAuthCommandsFunction · 0.85
registerIntakeCommandsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected