package main import ( "fmt" "os" "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "pokectl", RunE: func(cmd *cobra.Command, args []string) error { return nil }, } func init() {} func main() { if err := rootCmd.Execute(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(2) } }