diff options
author | pommicket <pommicket@gmail.com> | 2025-09-25 21:51:14 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-25 21:51:14 -0400 |
commit | af6810f0cc4559470409f476252efa13c424ab82 (patch) | |
tree | dd7b457b9f6cf63e10c7edd826c3494352afc1f5 /src/main.rs | |
parent | bb784f99cfcf17fd01bfd64e5add57bdd0d88673 (diff) |
Start animalia
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index f484ade..0fcc3d6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,7 @@ use std::io::BufWriter; use std::process::ExitCode; mod definitions; +mod animalia; fn do_write<W, E: Error>(path: &str, write_func: W) -> Result<(), Box<dyn Error>> where @@ -43,7 +44,8 @@ fn try_main() -> Result<(), Box<dyn Error>> { command_args.push(arg.to_owned()); } match &command.to_string_lossy()[..] { - "definitions" => definitions::definitions(command_args), + "definitions" => definitions::main(command_args), + "animalia" => animalia::main(command_args), x => Err(format!("Unrecognized command: {x}").into()), } } |