// Register registers version command for gola binary.
Register registers version command for gola binary.
// Register registers version command for gola binary .
func Register(root *cobra.Command) {
	root.AddCommand(
		&cobra.Command{
			Use:   "version",
			Short: "Print gola version",
			Run: func(_ *cobra.Command, _ []string) {
				log.Println(version.String())
			},
		},
	)
}
func Register ( root * cobra . Command ) { root . AddCommand ( & cobra . Command { Use : " " , Short : " " , Run : func ( _ * cobra . Command , _ [ ] string ) { log . Println ( version . String ( ) ) } , } , ) }
Register registers version command for gola binary.
Register registers version command for gola binary .