···90}
9192#[derive(Args)]
93-#[group(required = false, multiple = false)]
94struct Title {
95 /// The title of the task. This is useful for when you also wish to specify the body of the
96 /// task as an argument (ie. with -b).
···102}
103104#[derive(Args)]
105-#[group(required = true, multiple = false)]
106struct TaskId {
107 #[arg(short = 't', value_name = "ID")]
108 id: Option<u32>,
···90}
9192#[derive(Args)]
93+#[group(required = true, multiple = false)]
94struct Title {
95 /// The title of the task. This is useful for when you also wish to specify the body of the
96 /// task as an argument (ie. with -b).
···102}
103104#[derive(Args)]
105+#[group(required = false, multiple = false)]
106struct TaskId {
107 #[arg(short = 't', value_name = "ID")]
108 id: Option<u32>,