🤙 Ping me on Twitter
if you like this project
Thanks to the awesome colored crate this utility works on Linux, MacOS, and Windows (Powershell). Respecting CLICOLOR/CLICOLOR_FORCE and NO_COLOR behavior.
📝 Please visit the full documentation if you want to learn the details.
use leg::*;
head("leg", Some("🔈"), Some("1.0.0"));
info("Informational message", None, None);
success("Succesfull operation", None, None);
warn("Warn message", None, None);
error("Error message", None, None);
wait("Waiting for something", None, None);
done("Something finished", None, None);
print!("Not shown");
remove();
info("Informational message with scope", Some("myscope"), None);
info(
"Informational message without new line",
None,
Some(false),
);
println!(" => same line");
😎 If you want to help please take a look to this file.