MCPcopy
hub / github.com/zgsm-ai/costrict / outputCommandsText

Function outputCommandsText

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

Source from the content-addressed store, hash-verified

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

Callers 1

listCommandsFunction · 0.85

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected