Add basic object parsing and a rough TODO list of steps

This commit is contained in:
Brendan Hansknecht 2021-08-19 20:40:03 -07:00
parent 1d55adaa33
commit a85eca8d8c
4 changed files with 62 additions and 8 deletions

View file

@ -7,8 +7,8 @@ fn main() -> io::Result<()> {
let exit_code = match matches.subcommand_name() {
None => Ok::<i32, io::Error>(-1),
Some(CMD_PREPROCESS) => {
preprocess()?;
Ok(0)
let sub_matches = matches.subcommand_matches(CMD_PREPROCESS).unwrap();
preprocess(sub_matches)
}
Some(CMD_SURGERY) => Ok(0),
_ => unreachable!(),