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

Function handleReplayRunCommand

src/cli/commands/replay.ts:19–30  ·  view source on GitHub ↗
({ positionals, flags }: ReplayCommandParams)

Source from the content-addressed store, hash-verified

17};
18
19function handleReplayRunCommand({ positionals, flags }: ReplayCommandParams): false {
20 if (positionals.length > 1) {
21 throw new AppError('INVALID_ARGS', 'replay accepts exactly one input path: replay <path>');
22 }
23 if (flags.replayExportFormat !== undefined || flags.out !== undefined) {
24 throw new AppError(
25 'INVALID_ARGS',
26 'replay --format/--out are only supported with replay export.',
27 );
28 }
29 return false;
30}
31
32async function handleReplayExportCommand({
33 positionals,

Callers 1

replayCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected