use colored::Colorize;
use std::process;
pub fn error(error: &[u8]) {
eprint!(
"{}: {}",
"error".red().bold(),
String::from_utf8_lossy(error)
);
process::exit(1);
}
pub fn info(title: &str, info: &str) {
println!("{:>12} {}", title.green().bold(), info);
}