cmd/version.go
changeset 279 7fd0abc7b361
parent 277 c9c425a5b48b
child 280 3c1a1d67511a
equal deleted inserted replaced
278:2a5095133a0f 279:7fd0abc7b361
    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 = "3.0.0"
    26 var VERSION = "3.0.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 {