|
|
|
@ -71,9 +71,10 @@ func colorErrPrint(msg string) {
|
|
|
|
|
const redColor = "\033[31m"
|
|
|
|
|
// ANSI escape code to reset color
|
|
|
|
|
const resetColor = "\033[0m"
|
|
|
|
|
msg = resetColor + msg + resetColor
|
|
|
|
|
// Format the string as per provided format and arguments
|
|
|
|
|
// Print to stderr in red
|
|
|
|
|
fmt.Fprintf(os.Stderr, "%s", msg)
|
|
|
|
|
fmt.Fprintf(os.Stderr, "%s\n", msg)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func colorSuccessPrint(format string, a ...interface{}) {
|
|
|
|
|