summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-24 23:37:44 +0000
committerGitHub <noreply@github.com>2026-02-24 23:37:44 +0000
commit5d1fbed2733e93cc2be2e1a89ca022d88bef613f (patch)
tree48f66f56c2557b5101a49775e0d964ccd94b516a /makima/src/daemon/cli
parentb9bc33ab69d094d97fd1398aaa39e8e435547d17 (diff)
downloadsoryu-0.3.1.tar.gz
soryu-0.3.1.zip
feat: non-blocking reconcile polling, directive CLI orders & cleanup (#82)v0.3.1
* feat: soryu-co/soryu - makima: Remove aarch64-unknown-linux-gnu from release workflow * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Implement non-blocking ask with client-side polling for reconcile mode
Diffstat (limited to 'makima/src/daemon/cli')
-rw-r--r--makima/src/daemon/cli/directive.rs27
-rw-r--r--makima/src/daemon/cli/mod.rs3
2 files changed, 30 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/directive.rs b/makima/src/daemon/cli/directive.rs
index 7c8451f..cc7b224 100644
--- a/makima/src/daemon/cli/directive.rs
+++ b/makima/src/daemon/cli/directive.rs
@@ -150,6 +150,33 @@ pub struct AskArgs {
pub question_type: String,
}
+/// Arguments for create-order command.
+#[derive(Args, Debug)]
+pub struct CreateOrderArgs {
+ #[command(flatten)]
+ pub common: DirectiveArgs,
+
+ /// Order title
+ #[arg(long)]
+ pub title: String,
+
+ /// Order description
+ #[arg(long)]
+ pub description: Option<String>,
+
+ /// Priority: critical, high, medium, low, none
+ #[arg(long, default_value = "medium")]
+ pub priority: String,
+
+ /// Order type: spike or chore only
+ #[arg(long, default_value = "spike")]
+ pub order_type: String,
+
+ /// Comma-separated labels
+ #[arg(long)]
+ pub labels: Option<String>,
+}
+
/// Arguments for update command.
#[derive(Args, Debug)]
pub struct UpdateArgs {
diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs
index 8063541..af6f885 100644
--- a/makima/src/daemon/cli/mod.rs
+++ b/makima/src/daemon/cli/mod.rs
@@ -252,6 +252,9 @@ pub enum DirectiveCommand {
/// Ask a question and wait for user feedback
Ask(directive::AskArgs),
+
+ /// Create an order for future work (spike or chore only)
+ CreateOrder(directive::CreateOrderArgs),
}
impl Cli {