Skip to content

Commit

Permalink
chore: Add version command
Browse files Browse the repository at this point in the history
  • Loading branch information
David MICHENEAU committed Dec 5, 2023
1 parent 3766af7 commit b4163a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ import (
)

var (
c *cloudavenue.Client
c *cloudavenue.Client
version = "v0.0.4"
)

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "cloudavenue-cli",
Short: "cloudavenue-cli is the Command Line Interface for CloudAvenue Platform",
Use: "cloudavenue-cli",
Short: "cloudavenue-cli is the Command Line Interface for CloudAvenue Platform",
Version: version,
}

// Execute adds all child commands to the root command and sets flags appropriately.
Expand Down

0 comments on commit b4163a4

Please sign in to comment.