summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-27 01:25:29 +0000
committersoryu <soryu@soryu.co>2026-01-27 01:25:40 +0000
commitb0d0b4848b2fc8a44c2575e09a08b34aaf6e1484 (patch)
treebd0dedfd8a3623d01f28ff590e97a028bc5456c5 /makima/src/daemon/cli
parentb28345d15730ffbefe81244d06c06fe13c30b0ea (diff)
downloadsoryu-b0d0b4848b2fc8a44c2575e09a08b34aaf6e1484.tar.gz
soryu-b0d0b4848b2fc8a44c2575e09a08b34aaf6e1484.zip
Default to shared worktree and add worktree endpoint
Diffstat (limited to 'makima/src/daemon/cli')
-rw-r--r--makima/src/daemon/cli/supervisor.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/supervisor.rs b/makima/src/daemon/cli/supervisor.rs
index 4f36fd8..09f61db 100644
--- a/makima/src/daemon/cli/supervisor.rs
+++ b/makima/src/daemon/cli/supervisor.rs
@@ -48,6 +48,10 @@ pub struct SpawnArgs {
/// Repository URL (local path or remote URL). If not provided, will try to detect from current directory.
#[arg(long)]
pub repo: Option<String>,
+
+ /// Create a separate worktree for the task (requires merge after). By default, tasks share the supervisor's worktree.
+ #[arg(long)]
+ pub own_worktree: bool,
}
/// Arguments for wait command.