atagen

roundabout

public
Star0
Watch0
e50aca5650c22545f0d99db926ab1ae120f24699
1
ssh://brewery@pls.lobotomise.me:33/atagen/roundabout.git
src/main.rsRust27 lines440 B
1
mod artifacts;
2
mod cli;
3
mod client;
4
mod config;
5
mod daemon;
6
mod history;
7
mod hook;
8
mod paths;
9
mod proto;
10
mod run;
11
mod sched;
12
mod store;
13
mod sys;
14
mod units;
15
16
use pound::Parse;
17
18
fn main() {
19
    let cfg = match config::Config::load() {
20
        Ok(c) => c,
21
        Err(e) => {
22
            eprintln!("rabt: bad config, {e}");
23
            std::process::exit(2);
24
        }
25
    };
26
    std::process::exit(cli::dispatch(&cfg, cli::Rabt::parse()));
27
}