Commit Graph

8 Commits

Author SHA1 Message Date
Jeremiah Russell
b6a53461ce 🐛 fix(cli): correct label adding to use non-async function
- fix label adding to use non-async function
2025-10-14 07:41:39 +01:00
Jeremiah Russell
e02f0ee3d1 ♻️ refactor(cli): remove unused Delete, Trash trait
- Remove Delete and Trash traits from cull_gmail
- Use RuleProcessor instead of Delete and Trash traits
2025-10-14 07:41:39 +01:00
Jeremiah Russell
c42f19d19a 🐛 fix(trash): fix trash command with new gmail client
- adapt trash command to use new gmail client methods
- remove unused `Trash` struct
2025-10-14 07:41:39 +01:00
Jeremiah Russell
4d452ab5b0 ♻️ refactor(cli): use GmailClient instead of credential file
- use GmailClient to reduce redundant credential file passing
2025-10-14 07:41:39 +01:00
Jeremiah Russell
0bab707b02 ♻️ refactor(trash): refactor trash command
- separates list preparation and trash execution for better modularity
- improves code readability and maintainability
2025-10-11 09:35:12 +01:00
Jeremiah Russell
a3645a5b14 ♻️ refactor(trash): encapsulate message list operations
- move label, query, and max results setting to the message list
- simplify the `TrashCli::run` method
2025-10-09 22:45:24 +01:00
Jeremiah Russell
fdf623ea20 ♻️ refactor(trash): streamline label handling in trash listing
- consolidate label retrieval and addition into `add_labels` method
- improve code clarity and reduce redundancy
2025-10-09 17:03:04 +01:00
Jeremiah Russell
d4de088fd4 ♻️ refactor(cli): rename trash_cli to cli
- move trash_cli to cli for better project structure
2025-10-09 17:03:04 +01:00