Merge pull request #1601 from code-yeongyu/fix/899-cli-run-dash-args

fix: allow dash-prefixed arguments in CLI run command (#899)
This commit is contained in:
YeonGyu-Kim
2026-02-07 18:49:26 +09:00
committed by GitHub
+2
View File
@@ -65,6 +65,8 @@ Model Providers (Priority: Native > Copilot > OpenCode Zen > Z.ai > Kimi):
program program
.command("run <message>") .command("run <message>")
.allowUnknownOption()
.passThroughOptions()
.description("Run opencode with todo/background task completion enforcement") .description("Run opencode with todo/background task completion enforcement")
.option("-a, --agent <name>", "Agent to use (default: from CLI/env/config, fallback: Sisyphus)") .option("-a, --agent <name>", "Agent to use (default: from CLI/env/config, fallback: Sisyphus)")
.option("-d, --directory <path>", "Working directory") .option("-d, --directory <path>", "Working directory")