refactor: flatten commands, extract php/ci to own repos (#2)
## 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>
This commit is contained in:
parent
0729b3a672
commit
27d5e2e100
294 changed files with 45 additions and 14365 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
package ai
|
package ai
|
||||||
|
|
||||||
import (
|
import (
|
||||||
ragcmd "forge.lthn.ai/core/cli/internal/cmd/rag"
|
ragcmd "forge.lthn.ai/core/cli/cmd/rag"
|
||||||
"forge.lthn.ai/core/go/pkg/cli"
|
"forge.lthn.ai/core/go/pkg/cli"
|
||||||
"forge.lthn.ai/core/go/pkg/i18n"
|
"forge.lthn.ai/core/go/pkg/i18n"
|
||||||
)
|
)
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"forge.lthn.ai/core/cli/internal/cmd/workspace"
|
"forge.lthn.ai/core/cli/cmd/workspace"
|
||||||
"forge.lthn.ai/core/go/pkg/cli"
|
"forge.lthn.ai/core/go/pkg/cli"
|
||||||
"forge.lthn.ai/core/go/pkg/i18n"
|
"forge.lthn.ai/core/go/pkg/i18n"
|
||||||
"forge.lthn.ai/core/go/pkg/io"
|
"forge.lthn.ai/core/go/pkg/io"
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"forge.lthn.ai/core/cli/internal/cmd/workspace"
|
"forge.lthn.ai/core/cli/cmd/workspace"
|
||||||
"forge.lthn.ai/core/go/pkg/cli"
|
"forge.lthn.ai/core/go/pkg/cli"
|
||||||
"forge.lthn.ai/core/go/pkg/i18n"
|
"forge.lthn.ai/core/go/pkg/i18n"
|
||||||
"forge.lthn.ai/core/go/pkg/io"
|
"forge.lthn.ai/core/go/pkg/io"
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
package gitcmd
|
package gitcmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"forge.lthn.ai/core/cli/internal/cmd/dev"
|
"forge.lthn.ai/core/cli/cmd/dev"
|
||||||
"forge.lthn.ai/core/go/pkg/cli"
|
"forge.lthn.ai/core/go/pkg/cli"
|
||||||
"forge.lthn.ai/core/go/pkg/i18n"
|
"forge.lthn.ai/core/go/pkg/i18n"
|
||||||
)
|
)
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"forge.lthn.ai/core/cli/internal/cmd/qa"
|
"forge.lthn.ai/core/cli/cmd/qa"
|
||||||
"forge.lthn.ai/core/go/pkg/cli"
|
"forge.lthn.ai/core/go/pkg/cli"
|
||||||
"forge.lthn.ai/core/go/pkg/i18n"
|
"forge.lthn.ai/core/go/pkg/i18n"
|
||||||
)
|
)
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue