MCPcopy
hub / github.com/callstack/agent-device / normalizeHelpTarget

Function normalizeHelpTarget

src/bin.ts:97–101  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

95}
96
97function normalizeHelpTarget(command: string): string {
98 if (command === 'long-press') return 'longpress';
99 if (command === 'metrics') return 'perf';
100 return command;
101}
102
103function isHelpCommand(command: string | undefined): boolean {
104 return command === 'help';

Callers 1

runHelpFastPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected