From fc1cb1acc0dce412e948475002666bcd1d4b0348 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Mon, 31 Oct 2022 22:41:18 +0100 Subject: add first impl --- src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8d1a1bd..957e5aa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,8 @@ -use modlist::modrinth::projects; +use modlist::{config::Cfg, input::get_input}; #[tokio::main] async fn main() { - //projects(vec!["kYuIpRLv", "89Wsn8GD"]); - println!("{:?}", projects(vec!["kYuIpRLv", "89Wsn8GD"]).await); + let config = Cfg::init("config.ini"); + //TODO Error Handling + get_input(config).await.unwrap(); } -- cgit v1.2.3