diff options
Diffstat (limited to 'src/commands/io.rs')
-rw-r--r-- | src/commands/io.rs | 12 |
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 @@ | |||
1 | use crate::{input::{Input, Subcmd}, config::Cfg}; | ||
2 | |||
3 | pub 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 | } | ||