toggle_florp 2.0.0

A small tool to help you decide the next florp color.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use toggle_florp::Color;

fn main() {
    let args = std::env::args().skip(1).collect::<Vec<_>>();
    let msg = if args.is_empty() {
        "random".to_owned()
    } else {
        args.join(" ")
    };

    let Color(r, g, b) = Color::from_message(&msg);

    println!("The color of the florp shall be:\n{} {} {}", r, g, b);
}