summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli/directive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/cli/directive.rs')
-rw-r--r--makima/src/daemon/cli/directive.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/directive.rs b/makima/src/daemon/cli/directive.rs
index 5de60ed..cd94a56 100644
--- a/makima/src/daemon/cli/directive.rs
+++ b/makima/src/daemon/cli/directive.rs
@@ -99,3 +99,14 @@ pub struct UpdateGoalArgs {
/// New goal text
pub goal: String,
}
+
+/// Arguments for batch-add-steps command.
+#[derive(Args, Debug)]
+pub struct BatchAddStepsArgs {
+ #[command(flatten)]
+ pub common: DirectiveArgs,
+
+ /// JSON array of steps: [{"name":"...","description":"...","taskPlan":"...","dependsOn":[],"orderIndex":0}]
+ #[arg(long)]
+ pub json: String,
+}