packagecmdimport("fmt""os""github.com/spf13/cobra")varrootCmd=&cobra.Command{Use:"golings",Short:"Learn go through interactive exercises",Run:func(cmd*cobra.Command,args[]string){},}funcExecute(){iferr:=rootCmd.Execute();err!=nil{fmt.Println(err)os.Exit(1)}}