Add comprehensive package-level documentation to all CLI command packages: - cmd/core.go, core_ci.go, core_dev.go: Main CLI entry points - cmd/shared: Lipgloss styles and utility functions - cmd/ai: AI agent task management and Claude integration - cmd/dev: Multi-repo git workflows and GitHub integration - cmd/build, cmd/ci: Build and release automation - cmd/sdk: OpenAPI validation and compatibility - cmd/go: Go development tools with enhanced output - cmd/php: Laravel development, build, and deployment - cmd/docs: Documentation sync across repos - cmd/doctor: Environment validation - cmd/test: Test runner with coverage - cmd/pkg: GitHub package management - cmd/setup: Workspace initialisation - cmd/vm: LinuxKit VM management Each docblock now describes: - Package purpose and commands - Key features and configuration - Package naming notes where relevant (gocmd, testcmd) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
598 B
Go
19 lines
598 B
Go
// Package testcmd provides Go test running commands with enhanced output.
|
|
//
|
|
// Note: Package named testcmd to avoid conflict with Go's test package.
|
|
//
|
|
// Features:
|
|
// - Colour-coded pass/fail/skip output
|
|
// - Per-package coverage breakdown with --coverage
|
|
// - JSON output for CI/agents with --json
|
|
// - Filters linker warnings on macOS
|
|
//
|
|
// Flags: --verbose, --coverage, --short, --pkg, --run, --race, --json
|
|
package testcmd
|
|
|
|
import "github.com/leaanthony/clir"
|
|
|
|
// AddCommands registers the 'test' command and all subcommands.
|
|
func AddCommands(app *clir.Cli) {
|
|
AddTestCommand(app)
|
|
}
|