-
Task 1: Add
#[command(version)]toClistruct- Add the attribute above
#[derive(Parser)]on theClistruct - Input:
crates/diffguard/src/main.rs - Output: Modified
Clistruct
- Add the attribute above
-
Task 2: Run CI verification
cargo fmt && cargo clippy --all-targets && cargo test --workspace- Input: Full workspace
- Output: Passing CI pipeline