♻️ refactor(trash): refactor trash command

- separates list preparation and trash execution for better modularity
- improves code readability and maintainability
This commit is contained in:
Jeremiah Russell
2025-10-11 06:56:09 +01:00
committed by Jeremiah Russell
parent dbc023d761
commit 0bab707b02

View File

@@ -40,6 +40,7 @@ impl TrashCli {
list.message_list().max_results()
);
list.run(self.pages).await
list.prepare(self.pages).await?;
list.batch_trash().await
}
}