package cmd import ( "fmt" "os" ) func ErrorExitf(format string, args ...interface{}) { fmt.Printf(format, args...) os.Exit(1) } func ErrorExitln(msg string) { fmt.Println(msg) os.Exit(1) }