Update integration tests to use assert_cmd::cargo_bin! macro instead
of the deprecated Command::cargo_bin() method. The method was
deprecated in assert_cmd 2.1.0 due to incompatibility with custom
cargo build-dir configurations.
Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
Upgrade google-gmail1 from 6.0.0 to 7.0.0 which uses yup-oauth2 v12
that no longer depends on the unmaintained rustls-pemfile crate.
This resolves RUSTSEC-2025-0134 (rustls-pemfile unmaintained).
Breaking changes addressed:
- Updated InstalledFlowAuthenticator to use CustomHyperClientBuilder
- Added hyper-rustls with http1 feature for OAuth redirect flow
Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
- Convert pipeline parameters from kebab-case to snake_case
- Update orb version from 2.13.5 to 4.2.1
- Remove custom executors
BREAKING CHANGE: Pipeline parameters renamed to snake_case
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
- add clap attributes for better command organization
- improve subcommand naming and aliases for usability
- attributes disabled as dependent on future clap feature
- 【Refactor】Move label subcommands (add, list, remove) into separate modules for better organization
- 【Refactor】Rename `LabelCli` to `ListLabelCli`, `AddCli` to `AddLabelCli`, and `RemoveCli` to `RemoveLabelCli`
- 【Refactor】Rename `LabelCommands` to `List`, `Add`, and `Remove`
- 【Refactor】Rename `remove-rule` alias to `rm-rule` and `remove-label` alias to `rm-label`
- 【Feat】Add `ListLabelCli`, `AddLabelCli`, and `RemoveLabelCli` to handle label-related operations
- 【Feat】Update `ConfigCli` to use the new label subcommands and modules
- 【Remove】Remove the `label_cli.rs` file as its functionality is now distributed
- rename `add`, `rm`, and `action` subcommands to `add-rule`, `remove-rule`, and `set-action-on-rule` respectively to improve clarity
- update corresponding modules and structs to reflect the renaming, enhancing code readability and maintainability
- support trash and delete actions for the same label
- add `run_rules_for_action` function to filter rules by action
- update `get_rules_by_label` to `get_rules_by_label_for_action`
- update `find_label` to return a vector of rule ids
- update `remove_rule_by_label` to remove all rules with the label