summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-09 21:02:23 +0200
committerfxqnlr <[email protected]>2023-05-09 21:02:23 +0200
commitbfc5c2c68007785b3d58724c0dae355162341866 (patch)
tree120a59ed76b1e15f258d336627579a5bde7ec85b /src/main.rs
parentd6415cf0e03dbb42c573a597d07ea1be5cd1fc44 (diff)
downloadmodlist-bfc5c2c68007785b3d58724c0dae355162341866.tar
modlist-bfc5c2c68007785b3d58724c0dae355162341866.tar.gz
modlist-bfc5c2c68007785b3d58724c0dae355162341866.zip
added list for lists
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 4239dc1..4979386 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,7 +3,7 @@ use modlist::{
3 config::Cfg, 3 config::Cfg,
4 db::{config_get_current_list, lists_get, lists_get_all_ids}, 4 db::{config_get_current_list, lists_get, lists_get_all_ids},
5 download, export, get_current_list, import, list_add, list_change, list_remove, list_version, 5 download, export, get_current_list, import, list_add, list_change, list_remove, list_version,
6 mod_add, mod_remove, update, IDSelector, List, Modloader, VersionLevel, 6 mod_add, mod_remove, update, IDSelector, List, Modloader, VersionLevel, list_list,
7}; 7};
8 8
9#[derive(Parser)] 9#[derive(Parser)]
@@ -222,7 +222,7 @@ async fn main() {
222 } 222 }
223 ListCommands::Remove { id } => list_remove(config, id), 223 ListCommands::Remove { id } => list_remove(config, id),
224 ListCommands::List => { 224 ListCommands::List => {
225 todo!() 225 list_list(config)
226 } 226 }
227 ListCommands::Change { id } => list_change(config, id), 227 ListCommands::Change { id } => list_change(config, id),
228 ListCommands::Version { 228 ListCommands::Version {