MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / resolveCommand

Function resolveCommand

src/server/cli-commands.ts:262–264  ·  view source on GitHub ↗
(exportKey: string, group: string, verb: string)

Source from the content-addressed store, hash-verified

260
261/** Resolve an (export, group, verb) triple to its underlying tool name, or null. */
262export function resolveCommand(exportKey: string, group: string, verb: string): string | null {
263 return CLI_EXPORTS[exportKey]?.commands[group]?.[verb] ?? null
264}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected