go-devops/cmd/deploy/cmd_commands.go
Snider c2adc7d9dc fix(dx): audit and fix build, error handling, and CLAUDE.md
- Fix cli.RegisterCommands signature mismatch (cli v0.3.5 takes
  single CommandRegistration, not variadic localeFS); register
  locales via i18n.RegisterLocales in locales/embed.go init()
- Replace fmt.Errorf inside log.E with plain string concat in
  deploy/python and deploy/coolify
- Remove unused fmt import from deploy/coolify/client.go
- Update CLAUDE.md: correct LOC count, clarify cmd/community and
  cmd/gitcmd descriptions, add locales package, fix error convention
  from core.E/fmt.Errorf to log.E

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 08:18:32 +00:00

17 lines
321 B
Go

package deploy
import (
"forge.lthn.ai/core/cli/pkg/cli"
_ "forge.lthn.ai/core/go-devops/locales"
)
func init() {
cli.RegisterCommands(AddDeployCommands)
}
// AddDeployCommands registers the 'deploy' command and all subcommands.
func AddDeployCommands(root *cli.Command) {
setDeployI18n()
root.AddCommand(Cmd)
}