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

Function getCommandNames

src/services/command/commands.ts:261–264  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

259 * Get command names for autocomplete
260 */
261export async function getCommandNames(cwd: string): Promise<string[]> {
262 const commands = await getCommands(cwd)
263 return commands.map((cmd) => cmd.name)
264}
265
266/**
267 * Scan a specific command directory (supports symlinks)

Callers 3

executeMethod · 0.90
commands.spec.tsFile · 0.90

Calls 1

getCommandsFunction · 0.70

Tested by

no test coverage detected