package cmd import ( "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "cu-helper", Run: func(cmd *cobra.Command, args []string) { _ = cmd.Help() }, } func Execute() { if err := rootCmd.Execute(); err != nil { panic(err.Error()) } }