cup_cli/
logo.rs

1use colored::{Color, Colorize};
2
3const LOGO: &str = r#"
4              .oooooo.                          
5Yb           d8P'  `Y8b                         
6 `Yb        888          oooo  oooo  oo.ooooo.  
7   `Yb      888          `888  `888   888' `88b 
8   .dP      888           888   888   888   888 
9 .dP        `88b    ooo   888   888   888   888 
10dP           `Y8bood8P'   `V88V"V8P'  888bod8P' 
11                                      888       
12                                     o888o      
13"#;
14
15pub fn logo() {
16    const GRAY: Color = Color::TrueColor {
17        r: 128,
18        g: 128,
19        b: 128,
20    };
21
22    println!("{}", LOGO.bright_cyan());
23    println!(
24        "{} What's the {}? {}\n",
25        ">>>".color(GRAY),
26        "Cup".bold(),
27        "<<<".color(GRAY)
28    );
29    println!(
30        "### Cup is a {} tool for C++ {} and {}!",
31        "Cargo-like".bold().underline(),
32        "Project Building".bold().underline(),
33        "Package Management".bold().underline()
34    );
35    println!("### Now, it will be rewritten in Rust!");
36    println!("### Let C++ and Rust progress together!\n");
37}