func WriteError(writer io.Writer, err error) {
	w := ansiterm.NewWriter(writer)
	ansiterm.Foreground(ansiterm.BrightRed).Fprintf(w, "ERROR")
	fmt.Fprintf(w, " %s\n", err.Error())
}
// WriteError will output the formatted text to the writer with
// a colored ERROR like the logging would.
WriteError will output the formatted text to the writer with
a colored ERROR like the logging would.
// WriteError will output the formatted text to the writer with // a colored ERROR like the logging would .
func WriteError(writer io.Writer, err error) {
	w := ansiterm.NewWriter(writer)
	ansiterm.Foreground(ansiterm.BrightRed).Fprintf(w, "ERROR")
	fmt.Fprintf(w, " %s\n", err.Error())
}
func WriteError ( writer io . Writer , err error ) { w := ansiterm . NewWriter ( writer ) ansiterm . Foreground ( ansiterm . BrightRed ) . Fprintf ( w , " " ) fmt . Fprintf ( w , " \n " , err . Error ( ) ) }
WriteError will output the formatted text to the writer with
a colored ERROR like the logging would.
WriteError will output the formatted text to the writer with a colored ERROR like the logging would .