allow to assign automatically current user on new work package

This commit is contained in:
2024-03-15 23:10:21 +01:00
parent 8da5d6ed87
commit 34f6eac006
17 changed files with 310 additions and 92 deletions

View File

@@ -13,18 +13,20 @@ pub(crate) struct Cli {
#[derive(Subcommand)]
pub(crate) enum Commands {
#[command(subcommand)]
Planning(Planning)
Planning(Planning),
Test,
}
#[derive(Subcommand)]
pub(crate) enum Planning {
I2work(Issue2Work)
I2work(Issue2Work),
}
#[derive(Args, Debug)]
pub(crate) struct Issue2Work {
pub issue_url: String,
pub project_id: String,
#[arg(short, long)]
pub assign_to_me: bool,
}