♻️ refactor(trash): refactor trash command
- separates list preparation and trash execution for better modularity - improves code readability and maintainability
This commit is contained in:
committed by
Jeremiah Russell
parent
dbc023d761
commit
0bab707b02
@@ -40,6 +40,7 @@ impl TrashCli {
|
|||||||
list.message_list().max_results()
|
list.message_list().max_results()
|
||||||
);
|
);
|
||||||
|
|
||||||
list.run(self.pages).await
|
list.prepare(self.pages).await?;
|
||||||
|
list.batch_trash().await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user