Initial commit

This commit is contained in:
2026-05-14 20:41:40 +02:00
commit 17a02b906e
10 changed files with 1497 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
use clap::Parser;
#[derive(Parser)]
#[command(name = "worklane")]
#[command(about = "A CLI tool for managing project status")]
pub struct Cli {
#[command(subcommand)]
pub command: Command,
}
#[derive(clap::Subcommand)]
pub enum Command {
/// Initialize worklane in the current project
Init,
/// Add a new ticket to the backlog
Add {
/// Ticket title
#[arg(short, long)]
title: String,
/// Ticket description
#[arg(short, long)]
description: Option<String>,
/// Acceptance criteria (comma-separated)
#[arg(short, long)]
acceptance: Vec<String>,
/// Implementation plan (comma-separated steps)
#[arg(short, long)]
plan: Vec<String>,
/// Tags (comma-separated)
#[arg(short = 'g', long)]
tags: Vec<String>,
/// Due date (YYYY-MM-DD)
#[arg(long)]
due: Option<String>,
/// Owner
#[arg(short, long)]
owner: Option<String>,
},
}