zero_days 0.1.0

a condescending way to express your feelings
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::env;
use std::io::{self, Read};

fn main() -> io::Result<()> {
    if let Some(s) = env::args().skip(1).next() {
        println!("{}", zero_days::draw(&s));
    } else {
        let mut buf = String::new();
        io::stdin().read_to_string(&mut buf)?;
        println!("{}", zero_days::draw(&buf));
    }

    Ok(())
}