go/pkg/cli
Snider 5b2c4eef75 refactor: move CLI entry point to pkg/cli, remove cmd/
Consolidate CLI code into pkg/cli:
- Add pkg/cli/app.go with Main() entry point and completionCmd
- Move build variants to internal/variants/ (avoids import cycle)
- Move i18n-validate tool to internal/tools/
- Update main.go to call cli.Main()
- Remove cmd/ directory entirely

Structure:
- main.go imports internal/variants (triggers command registration)
- main.go calls cli.Main() which runs the CLI
- Build variants: go build, go build -tags ci/php/minimal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 22:11:35 +00:00
..
app.go refactor: move CLI entry point to pkg/cli, remove cmd/ 2026-01-30 22:11:35 +00:00
commands.go refactor(cli): move commands from cmd/ to pkg/ with self-registration 2026-01-30 21:55:55 +00:00
daemon.go feat(cli): add daemon mode support 2026-01-30 19:28:50 +00:00
daemon_test.go feat(cli): add daemon mode support 2026-01-30 19:28:50 +00:00
i18n.go refactor(i18n): use grammar system for PHP QA messages 2026-01-30 20:23:28 +00:00
log.go feat(pkg): add standalone log and errors packages 2026-01-30 22:02:40 +00:00
runtime.go refactor(cli): move commands from cmd/ to pkg/ with self-registration 2026-01-30 21:55:55 +00:00
styles.go refactor(cli): clean DX with direct function calls 2026-01-30 10:41:35 +00:00
utils.go refactor(i18n): remove C() and move intents to test-only 2026-01-30 16:50:08 +00:00