// NewRootCommand creates a new gola root command.
NewRootCommand creates a new gola root command.
// NewRootCommand creates a new gola root command .
func NewRootCommand() *cobra.Command {
	var root = &cobra.Command{
		Use:   "gola",
		Short: "Gola is a tool for automated scripting purpose.",
	}
	root.CompletionOptions.DisableDefaultCmd = true
	log.Cmd = root
	version.Register(root)
	run.Register(root)
	commands.Register(root)
	return root
}
func NewRootCommand ( ) * cobra . Command { var root = & cobra . Command { Use : " " , Short : " " , } root . CompletionOptions . DisableDefaultCmd = true log . Cmd = root version . Register ( root ) run . Register ( root ) commands . Register ( root ) return root }
NewRootCommand creates a new gola root command.
NewRootCommand creates a new gola root command .
// Set Cmd global variable for logging.