blob: 7eb2016a75a687679b2f0e8f3b78632c22f45ece [file] [log] [blame]
extern crate colored;
use colored::*;
fn main() {
// TADAA !
println!("{} {} {}!",
"it".green(),
"works".blue().bold(),
"great".bold().yellow());
println!("{}", String::from("this also works!").green().bold());
let mut s = String::new();
s.push_str(&"why not ".red().to_string());
s.push_str(&"push things ".blue().to_string());
s.push_str(&"a little further ?".green().to_string());
println!("{}", s);
let s = String::from(format!("{} {} {}", "this".red(), "is".blue(), "easier".green()));
println!("{}", s);
}