MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / outputJson

Function outputJson

apps/cli/src/commands/cli/list.ts:65–67  ·  view source on GitHub ↗
(data: unknown)

Source from the content-addressed store, hash-verified

63}
64
65function outputJson(data: unknown): void {
66 process.stdout.write(JSON.stringify(data, null, 2) + "\n")
67}
68
69function outputCommandsText(commands: CommandLike[]): void {
70 for (const command of commands) {

Callers 4

listCommandsFunction · 0.85
listModesFunction · 0.85
listModelsFunction · 0.85
listSessionsFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected