## Summary - Extract PHP/Laravel commands to `core/php` repo (42 files, standalone module) - Extract CI/release + SDK commands to `core/ci` repo (10 files) - Remove `internal/variants/` build tag system entirely - Move all 30 remaining command packages from `internal/cmd/` to top-level `cmd/` - Rewrite `main.go` with direct imports — no more variant selection - PHP and CI are now optional via commented import lines in main.go Co-authored-by: Claude <developers@lethean.io> Reviewed-on: #2 Co-authored-by: Charon <charon@lthn.ai> Co-committed-by: Charon <charon@lthn.ai>
18 lines
534 B
Go
18 lines
534 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 "forge.lthn.ai/core/go/pkg/cli"
|
|
|
|
func init() {
|
|
cli.RegisterCommands(AddTestCommands)
|
|
}
|