add --branch to codex cloud exec (#7602)

Adds `--branch` to `codex cloud exec` to set base branch.
This commit is contained in:
Jeremy Rose
2025-12-04 12:00:18 -08:00
committed by GitHub
parent 9b2055586d
commit 7dfc3a4dc7
2 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,10 @@ pub struct ExecCommand {
#[arg(long = "env", value_name = "ENV_ID")]
pub environment: String,
/// Git branch to run in Codex Cloud.
#[arg(long = "branch", value_name = "BRANCH", default_value = "main")]
pub branch: String,
/// Number of assistant attempts (best-of-N).
#[arg(
long = "attempts",