summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/cli/mod.rs')
-rw-r--r--makima/src/daemon/cli/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs
index af6f885..7affc55 100644
--- a/makima/src/daemon/cli/mod.rs
+++ b/makima/src/daemon/cli/mod.rs
@@ -255,6 +255,13 @@ pub enum DirectiveCommand {
/// Create an order for future work (spike or chore only)
CreateOrder(directive::CreateOrderArgs),
+
+ /// Verify the current worktree merges cleanly into the directive's base branch.
+ ///
+ /// Mandatory pre-flight before creating or pushing a directive PR — fails
+ /// with a non-zero exit code (and a list of conflicting files) if the merge
+ /// would conflict with the base branch.
+ Verify(directive::VerifyArgs),
}
impl Cli {