Skip to content

test-runners/coverage-badge-cli

The generate-coverage-badge command: reads its arguments, runs generateCoverageBadge and turns the result into an exit code. The obsidian-plugin-ci.yml reusable workflow runs it after the gate.

Function Description
parseCoverageBadgeArguments Parses the command line of generate-coverage-badge: --lcov=<path>, --output=<path>, --metric=<metric> and --label=<text>, each optional.
runCoverageBadgeCli Runs generate-coverage-badge.