diff options
author | fxqnlr <[email protected]> | 2023-01-26 17:23:06 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-01-26 17:23:06 +0100 |
commit | 57ab6addda10a49c18dc09208dfb319c0205e869 (patch) | |
tree | eec6fd465a113d15c819c64a94bc04d425f0e842 /src/main.rs | |
parent | 1890d59428dfcca861ea1b7820411d80cc60d713 (diff) | |
download | modlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar modlist-57ab6addda10a49c18dc09208dfb319c0205e869.tar.gz modlist-57ab6addda10a49c18dc09208dfb319c0205e869.zip |
Todos; fixed input with "-"
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
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 @@ | |||
1 | use std::{env, process}; | 1 | use std::{env, process}; |
2 | 2 | ||
3 | use modlist::{config::Cfg, input::{get_input, Cmd}, update, download, list, io}; | 3 | use modlist::{config::Cfg, input::{get_input, Cmd}, update, download, list, io, modification}; |
4 | 4 | ||
5 | #[tokio::main] | 5 | #[tokio::main] |
6 | async fn main() { | 6 | async 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 |