diff --git a/cmd/version.go b/cmd/version.go index 858d8ab71..fb03f0a7e 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -9,6 +9,7 @@ package cmd import ( "fmt" + "github.com/kubefirst/kubefirst/internal/progress" "github.com/kubefirst/runtime/configs" "github.com/spf13/cobra" ) @@ -22,6 +23,10 @@ var versionCmd = &cobra.Command{ Short: "print the version number for kubefirst-cli", Long: `All software has versions. This is kubefirst's`, Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("\nkubefirst-cli golang utility version: %s\n\n", configs.K1Version) + versionMsg := ` +## +### kubefirst-cli golang utility version:` + fmt.Sprintf("`%s`", configs.K1Version) + + progress.Success(versionMsg) }, }