Move module identity to our own Forgejo instance. All import paths updated across 434 Go files, sub-module go.mod files, and go.work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
822 B
Go
26 lines
822 B
Go
package doctor
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
|
|
"forge.lthn.ai/core/cli/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"))
|
|
}
|
|
}
|