- 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>
26 lines
821 B
Go
26 lines
821 B
Go
package doctor
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
|
|
"forge.lthn.ai/core/go/pkg/i18n"
|
|
)
|
|
|
|
// printInstallInstructions prints OS-specific installation instructions
|
|
func printInstallInstructions() {
|
|
switch runtime.GOOS {
|
|
case "darwin":
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_macos"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_macos_cask"))
|
|
case "linux":
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_header"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_git"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_gh"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_php"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_node"))
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_linux_pnpm"))
|
|
default:
|
|
fmt.Printf(" %s\n", i18n.T("cmd.doctor.install_other"))
|
|
}
|
|
}
|