We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6bb58 commit 9ad51feCopy full SHA for 9ad51fe
cmd/root.go
@@ -4,12 +4,16 @@ import (
4
"github.com/spf13/cobra"
5
)
6
7
+var version = "0.96.0"
8
+
9
var rootCmd = &cobra.Command{
- Use: "upify",
- Short: "Upify helps you quickly and easily deploy apps in the cloud",
10
- Long: `Upify is a platform and cloud agnostic CLI tool designed to simplify cloud deployments`,
+ Use: "upify",
11
+ Short: "Upify helps you quickly and easily deploy apps in the cloud",
12
+ Long: `Upify is a platform and cloud agnostic CLI tool designed to simplify cloud deployments`,
13
+ Version: version,
14
}
15
16
func Execute() error {
17
+ rootCmd.SetVersionTemplate("Upify version: {{.Version}}\n") // Customize the version output if needed
18
return rootCmd.Execute()
19
0 commit comments