Jeremiah Russell 197cba54f8 ✅ test(cli): comprehensive integration tests for CLI functionality
- Add comprehensive CLI integration test suite with 27 test cases
- Test argument parsing, help output, version display, and subcommand routing
- Validate labels, messages, and rules subcommands with various scenarios
- Test configuration file hierarchy, environment variables, and error handling
- Add async testing for concurrent operations and timeout scenarios
- Implement mock configuration and credentials for isolated testing
- Test dry-run modes, pagination, query validation, and safety features
- Add edge case testing for invalid inputs, permission errors, and network failures
- Ensure proper exit codes and error messages for various failure modes
- Enable tokio process feature for async command execution testing

Test Results: 23/27 tests pass (85% success rate)
- All basic CLI functionality tests pass
- All argument parsing and help tests pass
- All subcommand routing tests pass
- 4 edge case tests still need refinement for different environments
2025-10-20 22:27:38 +01:00
2025-09-29 22:28:57 +01:00
2025-10-20 14:32:44 +01:00
2025-10-16 16:39:19 +00:00
2025-09-29 22:28:57 +01:00
2025-09-29 16:09:44 +01:00
2025-10-20 22:27:38 +01:00

cull-gmail — Generate a change log based on the git commits compatible with keep-a-changelog and using conventional commits to categorize commits

Rust 1.88+ circleci-badge Crates.io Docs MIT licensed BuyMeaCoffee GitHubSponsors

The cull-gmail provides a software library and command line program to enable the culling of emails using the Gmail API.

Main Features

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

cull-gmail Library Documentation

The cull-gmail library provides types to enable the culling of emails using the Gmail API including the following steps:

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

Installation

Add the library to your program's Cargo.toml using cargo add:

$ cargo add cull-gmail

Or by configuring the dependencies manually in Cargo.toml:

[dependencies]
cull-gmail = "0.0.10"

cull-gmail CLI

A command line program to cull emails from Gmail using the Gmail API. The tool has sub-commands to for authorization, planning and executing the move of select email to the Gmail trash folder from which they will be automatically deleted after thirty days.

Installation

Install cull-gmail using Cargo:

cargo install cull-gmail

License

By contributing to cull-gmail, you agree that your contributions will be licensed under the MIT License. This means:

  • You grant permission for your contributions to be used, modified, and distributed under the terms of the MIT License
  • You confirm that you have the right to submit the code under this license
  • You understand that your contributions will become part of the project and available to all users under the MIT License

Contribution

Thank you for your interest in contributing to cull-gmail! We welcome contributions from the community and appreciate your help in making this project better.

Further details can be found in the contribution document.

S
Description
No description provided
Readme
1.1 MiB
Languages
Rust 99.8%
Shell 0.2%