Automatically create a folder badges/ and add the coverage.svg, test.svg et version.svg
Go to file
Dandaedre c71754589c Better version, with spinners 2025-03-10 14:55:07 -05:00
badges Adds badge and new indicatif bar 2025-03-10 12:23:29 -05:00
src Better version, with spinners 2025-03-10 14:55:07 -05:00
.gitignore Better version, with spinners 2025-03-10 14:55:07 -05:00
Cargo.toml Better version, with spinners 2025-03-10 14:55:07 -05:00
LICENSE Initial commit 2024-11-05 16:01:41 +01:00
README.md Better version, with spinners 2025-03-10 14:55:07 -05:00

README.md

rust_autobadges

code coverage version code coverage

Automatically create a folder badges/ with the generated coverage.svg, test.svg and version.svg

Usage

Usage: rust_autobadges [OPTIONS]

Options:
  -s, --skip-clean
          Skip the cargo clean that tarpaulin would run, see tarpaulin --skip-clean for more documentation
  -t, --no-test
          Dont generate the test:failing/passing badge
  -c, --no-coverage
          Don't run the coverage and dont generate the coverage:(percent) badge
  -v, --no-version
          Don't run the version tag check and dont generage the version:(number) badge
      --version-color <VERSION_COLOR>
          The color used to use on the version badge [default: orange]
      --failing-color <FAILING_COLOR>
          The color used to indicate failure on the test badges [default: red]
      --success-color <SUCCESS_COLOR>
          The color used to indicate success on the badges [default: green]
      --high-coverage-color <HIGH_COVERAGE_COLOR>
          The color used on a high coverage [default: green]
      --mid-coverage-color <MID_COVERAGE_COLOR>
          The color used on a mid coverage [default: orange]
      --low-coverage-color <LOW_COVERAGE_COLOR>
          The color used on a low coverage [default: red]
      --high-coverage-percent <HIGH_COVERAGE_PERCENT>
          The percent indicating a high coverage [default: 1]
      --mid-coverage-percent <MID_COVERAGE_PERCENT>
          The percent indicating a mid coverage [default: 0.8]
  -o, --output <OUTPUT>
          The output directory where all the badges will be saved [default: badges]
  -h, --help
          Print help
  -V, --version
          Print version