feat: implement internationalization support and update help commands

This commit is contained in:
krau
2025-08-27 11:09:38 +08:00
parent a7b93e57fc
commit 215e082028
16 changed files with 173 additions and 149 deletions

View File

@@ -28,7 +28,7 @@ var upgradeCmd = &cobra.Command{
v := semver.MustParse(config.Version)
latest, err := selfupdate.UpdateSelf(v, config.GitRepo)
if err != nil {
fmt.Println("Binary update failed:", err)
fmt.Println("Update failed:", err)
return
}
if latest.Version.Equals(v) {