aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 6a15d8381dab10a757d30d6ecf51229115a2d8d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
mod cmd;
mod protocol;
mod util;

fn main() {
    match crate::cmd::parse().and_then(crate::cmd::run) {
        Ok(_) => {}
        Err(err) => {
            eprintln!("{}", err);
            std::process::exit(1);
        }
    }
}