summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli/directive.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-10 14:50:07 +0000
committersoryu <soryu@soryu.co>2026-02-10 14:50:07 +0000
commit15b6e5fba161a194fe5427d7d29b0c4286423260 (patch)
treefdd7bde229150cbb56d37714c23c2dc9db902f28 /makima/src/daemon/cli/directive.rs
parent526edf672aae73c3670ab6141253bf92f1fbfe8c (diff)
downloadsoryu-15b6e5fba161a194fe5427d7d29b0c4286423260.tar.gz
soryu-15b6e5fba161a194fe5427d7d29b0c4286423260.zip
Add auto-PR creation for remote repos in directives
Diffstat (limited to 'makima/src/daemon/cli/directive.rs')
-rw-r--r--makima/src/daemon/cli/directive.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/directive.rs b/makima/src/daemon/cli/directive.rs
index cd94a56..2e6ac1d 100644
--- a/makima/src/daemon/cli/directive.rs
+++ b/makima/src/daemon/cli/directive.rs
@@ -110,3 +110,18 @@ pub struct BatchAddStepsArgs {
#[arg(long)]
pub json: String,
}
+
+/// Arguments for update command.
+#[derive(Args, Debug)]
+pub struct UpdateArgs {
+ #[command(flatten)]
+ pub common: DirectiveArgs,
+
+ /// PR URL to store on the directive
+ #[arg(long)]
+ pub pr_url: Option<String>,
+
+ /// PR branch name to store on the directive
+ #[arg(long)]
+ pub pr_branch: Option<String>,
+}