3 releases

0.1.2 May 20, 2022
0.1.1 May 1, 2022
0.1.0 May 1, 2022

#491 in Command-line interface

MIT license

5KB

smallcolors

** ⚠️ This project was abandoned** If you liked the name, contact me: redson@riseup.net The repository will be deleted.

Usage

Basic Usage

use smallcolors;

fn main() {
    let reset = smallcolors::reset;
    println!("\n{}Hello{reset}, {}this{reset} {}code{reset} exists.", smallcolors::blue, smallcolors::purple, smallcolors::cyan);
    println!("{}Oi{reset}, {}esse{reset} {}código{reset} existe.\n\n", smallcolors::blue, smallcolors::purple, smallcolors::cyan);
}

Bold

use smallcolors;

fn main() {
    let reset = smallcolors::reset;
    println!("\n{}Hello{reset}, {}this{reset} {}code{reset} exists.", smallcolors::bold::blue, smallcolors::bold::purple, smallcolors::bold::cyan);
    println!("{}Oi{reset}, {}esse{reset} {}código{reset} existe.\n\n", smallcolors::bold::blue, smallcolors::bold::purple, smallcolors::bold::cyan);
}

No runtime deps