cli/docs/cmd/go/cov/index.md
Snider dea8f59c10 docs: sync core dev and core go with CLI
Updated by technical writer agents:
- core dev: added task management, api, sync, ci commands
- core dev: fixed all flag discrepancies
- core go: added work subcommands (init, sync, use)
- core go: added missing flags (--json, --check, --open, --threshold)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:10:23 +00:00

636 B

core go cov

Generate coverage report with thresholds.

Usage

core go cov [flags]

Flags

Flag Description
--pkg Package to test (default: ./...)
--html Generate HTML coverage report
--open Generate and open HTML report in browser
--threshold Minimum coverage percentage (exit 1 if below)

Examples

core go cov                     # Summary
core go cov --html              # HTML report
core go cov --open              # Open in browser
core go cov --threshold 80      # Fail if < 80%
core go cov --pkg ./pkg/release # Specific package