feat: 添加选项以标记任务为失败

This commit is contained in:
catlog22
2025-12-28 20:45:05 +08:00
parent c24ad501b5
commit 847abcefce
2 changed files with 104 additions and 61 deletions

View File

@@ -284,6 +284,7 @@ export function run(argv: string[]): void {
.option('--solution-id <id>', 'Solution ID')
.option('--result <json>', 'Execution result JSON')
.option('--reason <text>', 'Failure reason')
.option('--fail', 'Mark task as failed')
.action((subcommand, args, options) => issueCommand(subcommand, args, options));
program.parse(argv);