summaryrefslogtreecommitdiff
path: root/src/commands/io.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2022-12-18 23:11:50 +0100
committerfxqnlr <[email protected]>2022-12-18 23:11:50 +0100
commit28706f6edf10a135a67334d7035948bab4064bef (patch)
tree64ce9c6aa58167e0b9ffbca968c1aaab224cea73 /src/commands/io.rs
parentdc5955955785cdabea90c010db65b661ab87e2dc (diff)
downloadmodlist-28706f6edf10a135a67334d7035948bab4064bef.tar
modlist-28706f6edf10a135a67334d7035948bab4064bef.tar.gz
modlist-28706f6edf10a135a67334d7035948bab4064bef.zip
dl add clean & all-lists; start of io
Diffstat (limited to 'src/commands/io.rs')
-rw-r--r--src/commands/io.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/commands/io.rs b/src/commands/io.rs
new file mode 100644
index 0000000..dc1f408
--- /dev/null
+++ b/src/commands/io.rs
@@ -0,0 +1,12 @@
1use crate::{input::{Input, Subcmd}, config::Cfg};
2
3pub fn io(_config: Cfg, input: Input) -> Result<(), Box<dyn std::error::Error>> {
4
5 match input.subcommand.ok_or("INVALID_INPUT")? {
6 Subcmd::Export => {},
7 Subcmd::Import => {},
8 _ => {},
9 }
10
11 Ok(())
12}