use farben::cprintln;
fn status(verb: &str, style: &str, message: &str) {
cprintln!("[{}]{:>12}[/] {}", style, verb, message);
}
pub fn packing(msg: &str) {
status("Packing", "bold rgb(0,210,180)", msg);
}
pub fn packed(msg: &str) {
status("Packed", "bold rgb(0,210,180)", msg);
}
pub fn writing(msg: &str) {
status("Writing", "bold rgb(0,210,180)", msg);
}
pub fn unpacking(msg: &str) {
status("Unpacking", "bold rgb(0,210,180)", msg);
}
pub fn finished(msg: &str) {
status("Finished", "bold rgb(0,210,180)", msg);
}
pub fn skipping(msg: &str) {
status("Skipping", "dim", msg);
}
pub fn opening(msg: &str) {
status("Opening", "bold rgb(0,210,180)", msg);
}
pub fn info(msg: &str) {
status("Info", "bold rgb(0,210,180)", msg);
}
pub fn error(msg: &str) {
status("Error", "bold red", msg);
}
pub fn verified(msg: &str) {
status("Verified", "bold rgb(0,210,180)", msg);
}