diff options
author | fxqnlr <[email protected]> | 2022-10-31 22:41:18 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2022-10-31 22:41:18 +0100 |
commit | fc1cb1acc0dce412e948475002666bcd1d4b0348 (patch) | |
tree | 6b7667b453af8f2065681fa4dd850b0675b7bbde /src/main.rs | |
parent | 3320da719669f37dd5f55693b4d76edb27dbce02 (diff) | |
download | modlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.tar modlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.tar.gz modlist-fc1cb1acc0dce412e948475002666bcd1d4b0348.zip |
add first impl
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 7 |
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 @@ | |||
1 | use modlist::modrinth::projects; | 1 | use modlist::{config::Cfg, input::get_input}; |
2 | 2 | ||
3 | #[tokio::main] | 3 | #[tokio::main] |
4 | async fn main() { | 4 | async 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 | } |