memo 0.5.0

Create reminders directly from your terminal.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use colored::{ColoredString, Colorize};

pub enum Options {
    Title,
    Error,
    Muted,
}

/// Prints a title in the terminal
pub fn str(text: &str, option: Options) -> ColoredString {
    match option {
        Options::Title => text.green().bold(),
        Options::Error => text.red(),
        Options::Muted => text.dimmed(),
    }
}