blob: 39e46e8eaba475f79d80c9595a5ae1eb6b23dbb3 (
plain) (
tree)
|
|
use std::env;
use modlist::{config::Cfg, input::get_input};
#[tokio::main]
async fn main() {
let config = Cfg::init("modlist.toml").unwrap();
let mut args: Vec<String> = env::args().collect();
args.reverse();
args.pop();
args.reverse();
match get_input(config, args).await {
Ok(..) => (),
Err(e) => {
println!("{}", e);
}
};
}
|