|
@@ -186,13 +186,10 @@ async fn main() -> Result<()> {
|
|
|
} else {
|
|
} else {
|
|
|
vec![]
|
|
vec![]
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
for id in task_ids {
|
|
for id in task_ids {
|
|
|
tasks.push(tau.get_task_by_id(id).await?);
|
|
tasks.push(tau.get_task_by_id(id).await?);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- tasks.sort_by(|a, b| a.id.partial_cmp(&b.id).unwrap());
|
|
|
|
|
-
|
|
|
|
|
if ids_clone.len() == 1 && args.command.is_none() {
|
|
if ids_clone.len() == 1 && args.command.is_none() {
|
|
|
let tsk = tasks[0].clone();
|
|
let tsk = tasks[0].clone();
|
|
|
print_task_info(tsk)?;
|
|
print_task_info(tsk)?;
|