mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/exe/mod.rs')
| -rw-r--r-- | src/exe/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exe/mod.rs b/src/exe/mod.rs index dfa0365..23ed745 100644 --- a/src/exe/mod.rs +++ b/src/exe/mod.rs @@ -1,6 +1,7 @@ use std::env::Args; pub mod args; +pub mod edit; pub mod print; macro_rules!print_err @@ -33,6 +34,7 @@ pub fn main(mut args: Args) match args.next() { None => panic!("not enough arguments"), + Some(s) if s == "edit" => edit::main(args, 1), Some(s) if s == "print" => print::main(args, 1), Some(s) => panic!("unknown argument {s}"), } |