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

Function normalizeCommandAlias

src/cli/parser/args.ts:355–359  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

353}
354
355function normalizeCommandAlias(command: string): string {
356 if (command === 'long-press') return 'longpress';
357 if (command === 'metrics') return 'perf';
358 return command;
359}

Callers 2

parseRawArgsFunction · 0.85
usageForCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected