package cmd import ( "fmt" "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "saveany-bot", Short: "saveany-bot", Run: Run, } func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Println(err) } }