summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-01-26 17:23:06 +0100
committerfxqnlr <[email protected]>2023-01-26 17:23:06 +0100
commit57ab6addda10a49c18dc09208dfb319c0205e869 (patch)
treeeec6fd465a113d15c819c64a94bc04d425f0e842 /src/main.rs
parent1890d59428dfcca861ea1b7820411d80cc60d713 (diff)
downloadmodlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar
modlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar.gz
modlist-57ab6addda10a49c18dc09208dfb319c0205e869.zip
Todos; fixed input with "-"
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 2fca691..d177c3e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
1use std::{env, process}; 1use std::{env, process};
2 2
3use modlist::{config::Cfg, input::{get_input, Cmd}, update, download, list, io}; 3use modlist::{config::Cfg, input::{get_input, Cmd}, update, download, list, io, modification};
4 4
5#[tokio::main] 5#[tokio::main]
6async fn main() { 6async fn main() {
@@ -23,7 +23,7 @@ async fn main() {
23 23
24 match input.clone().command.unwrap() { 24 match input.clone().command.unwrap() {
25 Cmd::Mod => { 25 Cmd::Mod => {
26 Ok(()) 26 modification(config, input).await
27 }, 27 },
28 Cmd::List => { 28 Cmd::List => {
29 list(config, input).await 29 list(config, input).await