diff options
Diffstat (limited to 'makima/src/daemon/cli/directive.rs')
| -rw-r--r-- | makima/src/daemon/cli/directive.rs | 27 |
1 files changed, 27 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 { |
