summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2022-10-31 22:41:18 +0100
committerfxqnlr <[email protected]>2022-10-31 22:41:18 +0100
commitfc1cb1acc0dce412e948475002666bcd1d4b0348 (patch)
tree6b7667b453af8f2065681fa4dd850b0675b7bbde /src/main.rs
parent3320da719669f37dd5f55693b4d76edb27dbce02 (diff)
downloadmodlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.tar
modlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.tar.gz
modlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.zip
add first impl
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
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 @@
1use modlist::modrinth::projects; 1use modlist::{config::Cfg, input::get_input};
2 2
3#[tokio::main] 3#[tokio::main]
4async fn main() { 4async fn main() {
5 //projects(vec!["kYuIpRLv", "89Wsn8GD"]); 5 let config = Cfg::init("config.ini");
6 println!("{:?}", projects(vec!["kYuIpRLv", "89Wsn8GD"]).await); 6 //TODO Error Handling
7 get_input(config).await.unwrap();
7} 8}