Jeremiah Russell
ca1ab60c50
♻️ refactor(labels): simplify error handling in labels module
...
- use `crate::Result` alias for `Result<T, Error>` to reduce redundancy
2025-10-09 17:03:04 +01:00
Jeremiah Russell
7e779a218d
♻️ refactor(labels): remove unused code
...
- Remove commented-out code block for displaying labels.
2025-10-04 09:57:20 +01:00
Jeremiah Russell
7cd4b8987b
♻️ refactor(labels): improve label listing and mapping
...
- refactor label listing to use `else` for option handling
- enhance label listing with id display and conditional logging
- create label map for efficient label id lookup
2025-10-04 09:57:20 +01:00
Jeremiah Russell
bdf6f56f50
✨ feat(labels): add show option to display labels
...
- add option to show labels when creating a new label
- only display labels if show is true
2025-10-03 17:42:00 +01:00
Jeremiah Russell
b450db0bfa
♻️ refactor(labels): simplify labels struct initialization
...
- remove get_labels method and integrate its logic into new
- remove log_label_names method and move logging to new
- initialize label_list and label_map directly in new
2025-10-03 16:42:47 +01:00
Jeremiah Russell
af1c95e5c3
✨ feat(labels): create labels module to manage Gmail labels
...
- Implemented `Labels` struct for managing Gmail labels.
- Added functions to retrieve and map labels.
- Added logging for label names.
2025-10-03 14:40:05 +01:00