(params)
| 9 | type ReplayCommandParams = Parameters<ClientCommandHandler>[0]; |
| 10 | |
| 11 | export const replayCommand: ClientCommandHandler = async (params) => { |
| 12 | const { positionals } = params; |
| 13 | if (positionals[0] !== 'export') { |
| 14 | return handleReplayRunCommand(params); |
| 15 | } |
| 16 | return await handleReplayExportCommand(params); |
| 17 | }; |
| 18 | |
| 19 | function handleReplayRunCommand({ positionals, flags }: ReplayCommandParams): false { |
| 20 | if (positionals.length > 1) { |
nothing calls this directly
no test coverage detected