summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: a8aa15d32711a23651f4fd2d713a427d48afdad3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use modlist::{config::Cfg, input::get_input};

#[tokio::main]
async fn main() {
    let config = Cfg::init("config.toml").unwrap();
    match get_input(config).await {
        Ok(..) => (),
        Err(e) => {
            println!("{}", e);
        }
    };
}