(req: DaemonRequest)
| 255 | } |
| 256 | |
| 257 | function 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 | |
| 268 | function resolveDefaultCommandPositionals(req: DaemonRequest): { |
| 269 | resolvedPositionals: string[]; |
no test coverage detected