Files
ghorg/cmd/version.go
Jay Gabriels c9032b0854 bump version
2020-01-19 08:35:51 -08:00

21 lines
337 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(versionCmd)
}
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version number of Ghorg",
Long: `All software has versions. This is Ghorg's`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("1.1.10")
},
}