gitmoji-rs 0.3.2

A [gitmoji](https://gitmoji.dev/) interactive client for using gitmojis on commit messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use console::Style;

use crate::Gitmoji;

pub(super) fn print_gitmojis(gitmojis: &[Gitmoji]) {
    let blue = Style::new().blue();
    for gitmoji in gitmojis.iter() {
        let emoji = gitmoji.emoji();
        let code = gitmoji.code();
        let description = gitmoji.description().unwrap_or_default();
        println!("{emoji}\t{}\t{description}", blue.apply_to(code));
    }
}