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

Function resolveCommandPositionals

src/daemon/request-generic-dispatch.ts:257–266  ·  view source on GitHub ↗
(req: DaemonRequest)

Source from the content-addressed store, hash-verified

255}
256
257function resolveCommandPositionals(req: DaemonRequest): {
258 resolvedPositionals: string[];
259 resolvedOut: string | undefined;
260 recordedPositionals: string[];
261 recordedFlags: Record<string, unknown>;
262} {
263 return req.command === 'screenshot'
264 ? resolveScreenshotCommandPositionals(req)
265 : resolveDefaultCommandPositionals(req);
266}
267
268function resolveDefaultCommandPositionals(req: DaemonRequest): {
269 resolvedPositionals: string[];

Callers 1

dispatchGenericCommandFunction · 0.85

Tested by

no test coverage detected