package commands import ( "fmt" "git.hangman-lab.top/zhi/HarborForge.Cli/internal/output" ) // Version is the CLI version string, set at build time via ldflags. var Version = "dev" // RunVersion prints the CLI version. func RunVersion() { if output.JSONMode { output.PrintJSON(map[string]string{"version": Version}) } else { fmt.Printf("hf %s\n", Version) } }