coverage-badge
A Rust CLI tool that generates shields.io-style SVG badges for test coverage.
Installation
Usage
Arguments
--coverage, -c- Coverage percentage (0-100, decimals allowed)--output, -o- Output path for the SVG file
Examples
# Generate a badge for 85% coverage
# With decimal precision
In your README

Color Thresholds
| Coverage | Color |
|---|---|
| < 50% | Red |
| 50-79% | Yellow |
| ≥ 80% | Green |
License
MIT