- Remove internal/cmd/php/ (now core/php repo) - Remove internal/cmd/ci/ and internal/cmd/sdk/ (now core/ci repo) - Remove internal/variants/ build tag system entirely - Move all 30 remaining command packages from internal/cmd/ to cmd/ - Rewrite main.go with direct imports (no more variant selection) - Update all cross-references from internal/cmd/ to cmd/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
708 B
Go
21 lines
708 B
Go
// Package gocmd provides Go development commands with enhanced output.
|
|
//
|
|
// Note: Package named gocmd because 'go' is a reserved keyword.
|
|
//
|
|
// Commands:
|
|
// - test: Run tests with colour-coded coverage summary
|
|
// - cov: Run tests with detailed coverage reports (HTML, thresholds)
|
|
// - fmt: Format code using goimports or gofmt
|
|
// - lint: Run golangci-lint
|
|
// - install: Install binary to $GOPATH/bin
|
|
// - mod: Module management (tidy, download, verify, graph)
|
|
// - work: Workspace management (sync, init, use)
|
|
//
|
|
// Sets MACOSX_DEPLOYMENT_TARGET to suppress linker warnings on macOS.
|
|
package gocmd
|
|
|
|
import "forge.lthn.ai/core/go/pkg/cli"
|
|
|
|
func init() {
|
|
cli.RegisterCommands(AddGoCommands)
|
|
}
|