Release v0.7.2
Code Quality - Unified Command Options Architecture
This release refactors command parameter handling by introducing unified option structs, improving code maintainability and type safety. (closes #15)
Refactored
Unified Command Options
Introduced dedicated option structs for each command, replacing scattered function parameters:
CommitOptions- Aggregates no_edit, yes, dry_run, format, feedback, verbose, provider_overrideReviewOptions- Aggregates target, format, verbose, provider_overrideStatsOptions- Aggregates format, author
New OutputFormat Enum
Unified handling of --format and --json CLI parameters with OutputFormat::from_cli().
Other Changes
- Added
Debugderive toReviewTargetenum - Updated
main.rsand test files to use new parameter passing pattern - Simplified parent commit collection creation in tests
Upgrade
bash
# Homebrew
brew upgrade gcop-rs
# Cargo
cargo install gcop-rs
# pip
pip install --upgrade gcop-rs