cmd/version.go
changeset 104 ce2b92d6d72c
parent 101 aeaae086db13
child 109 912e72511084
equal deleted inserted replaced
103:7a4604bb12d9 104:ce2b92d6d72c
    21 	Version      string `json:"version"`
    21 	Version      string `json:"version"`
    22 	MadonVersion string `json:"madon_version"`
    22 	MadonVersion string `json:"madon_version"`
    23 }
    23 }
    24 
    24 
    25 // VERSION of the madonctl application
    25 // VERSION of the madonctl application
    26 var VERSION = "0.6.1-dev"
    26 var VERSION = "0.6.1"
    27 
    27 
    28 var versionCmd = &cobra.Command{
    28 var versionCmd = &cobra.Command{
    29 	Use:   "version",
    29 	Use:   "version",
    30 	Short: "Display " + AppName + " version",
    30 	Short: "Display " + AppName + " version",
    31 	RunE: func(cmd *cobra.Command, args []string) error {
    31 	RunE: func(cmd *cobra.Command, args []string) error {