MCPcopy Index your code
hub / github.com/callstack/agent-device / getCommandDefinition

Function getCommandDefinition

src/commands/command-surface.ts:26–28  ·  view source on GitHub ↗
(name: CommandName)

Source from the content-addressed store, hash-verified

24}
25
26function getCommandDefinition(name: CommandName): CommandFamilyDefinition {
27 return commandMap.get(name)!;
28}

Callers 1

runCommandFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected