package cmd import ( "fmt" "os" "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "trunkless", } func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Fprintf(os.Stderr, err.Error()+"\n") os.Exit(1) } }