(argv)
| 908 | } |
| 909 | |
| 910 | function handleResult(argv) { |
| 911 | const { options, positionals } = parseCommandInput(argv, { |
| 912 | valueOptions: ["cwd"], |
| 913 | booleanOptions: ["json"] |
| 914 | }); |
| 915 | |
| 916 | const cwd = resolveCommandCwd(options); |
| 917 | const reference = positionals[0] ?? ""; |
| 918 | const { workspaceRoot, job } = resolveResultJob(cwd, reference); |
| 919 | const storedJob = readStoredJob(workspaceRoot, job.id); |
| 920 | const payload = { |
| 921 | job, |
| 922 | storedJob |
| 923 | }; |
| 924 | |
| 925 | outputCommandResult(payload, renderStoredJobResult(job, storedJob), options.json); |
| 926 | } |
| 927 | |
| 928 | function handleTaskResumeCandidate(argv) { |
| 929 | const { options } = parseCommandInput(argv, { |
no test coverage detected