fix: allow dash-prefixed arguments in CLI run command
This commit is contained in:
parent
db6a899297
commit
d5b6a7c575
@ -64,8 +64,10 @@ Model Providers (Priority: Native > Copilot > OpenCode Zen > Z.ai > Kimi):
|
|||||||
})
|
})
|
||||||
|
|
||||||
program
|
program
|
||||||
.command("run <message>")
|
.command("run <message>")
|
||||||
.description("Run opencode with todo/background task completion enforcement")
|
.allowUnknownOption()
|
||||||
|
.passThroughOptions()
|
||||||
|
.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")
|
||||||
.option("-t, --timeout <ms>", "Timeout in milliseconds (default: 30 minutes)", parseInt)
|
.option("-t, --timeout <ms>", "Timeout in milliseconds (default: 30 minutes)", parseInt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user