- Move cmd/core/cmd/* to cmd/* (flatten directory structure) - Update module path from github.com/host-uk/core/cmd/core to github.com/host-uk/core - Remove go.mod files from pkg/* (single module now) - Simplify pkg/mcp to file operations only (no GUI deps) - GUI features (display, webview, process) stay in core-gui/pkg/mcp - Fix import aliases (sdkpkg) for package name conflicts - Remove old backup directory (cmdbk) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.2 KiB
Go
47 lines
1.2 KiB
Go
//go:build !ci
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/host-uk/core/cmd/ai"
|
|
"github.com/host-uk/core/cmd/build"
|
|
"github.com/host-uk/core/cmd/ci"
|
|
"github.com/host-uk/core/cmd/dev"
|
|
"github.com/host-uk/core/cmd/docs"
|
|
"github.com/host-uk/core/cmd/doctor"
|
|
gocmd "github.com/host-uk/core/cmd/go"
|
|
"github.com/host-uk/core/cmd/php"
|
|
"github.com/host-uk/core/cmd/pkg"
|
|
"github.com/host-uk/core/cmd/sdk"
|
|
"github.com/host-uk/core/cmd/setup"
|
|
testcmd "github.com/host-uk/core/cmd/test"
|
|
"github.com/host-uk/core/cmd/vm"
|
|
"github.com/leaanthony/clir"
|
|
)
|
|
|
|
// registerCommands adds all commands for the full development binary.
|
|
// Build with: go build (default) or go build -tags dev
|
|
func registerCommands(app *clir.Cli) {
|
|
// Dev workflow commands
|
|
dev.AddCommands(app)
|
|
|
|
// AI/Agent commands
|
|
ai.AddCommands(app)
|
|
|
|
// Language-specific development tools
|
|
gocmd.AddCommands(app)
|
|
php.AddCommands(app)
|
|
|
|
// CI/Release commands (also available in ci build)
|
|
build.AddCommands(app)
|
|
ci.AddCommands(app)
|
|
sdk.AddCommands(app)
|
|
|
|
// Package/environment management (dev only)
|
|
pkg.AddCommands(app)
|
|
vm.AddCommands(app)
|
|
docs.AddCommands(app)
|
|
setup.AddCommands(app)
|
|
doctor.AddCommands(app)
|
|
testcmd.AddCommands(app)
|
|
}
|