From 28706f6edf10a135a67334d7035948bab4064bef Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Sun, 18 Dec 2022 23:11:50 +0100 Subject: dl add clean & all-lists; start of io --- src/commands/io.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/commands/io.rs (limited to 'src/commands/io.rs') 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 @@ +use crate::{input::{Input, Subcmd}, config::Cfg}; + +pub fn io(_config: Cfg, input: Input) -> Result<(), Box> { + + match input.subcommand.ok_or("INVALID_INPUT")? { + Subcmd::Export => {}, + Subcmd::Import => {}, + _ => {}, + } + + Ok(()) +} -- cgit v1.2.3