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

Function outputCommandsText

apps/cli/src/commands/cli/list.ts:69–74  ·  view source on GitHub ↗
(commands: CommandLike[])

Source from the content-addressed store, hash-verified

67}
68
69function outputCommandsText(commands: CommandLike[]): void {
70 for (const command of commands) {
71 const description = command.description ? ` - ${command.description}` : ""
72 process.stdout.write(`/${command.name} (${command.source})${description}\n`)
73 }
74}
75
76function outputModesText(modes: ModeLike[]): void {
77 for (const mode of modes) {

Callers 1

listCommandsFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected