pub fn parse_command(command: &[String]) -> Vec<ParsedCommand>Expand description
DO NOT REVIEW THIS CODE BY HAND This parsing code is quite complex and not easy to hand-modify. The easiest way to iterate is to add unit tests and have Codex fix the implementation. To encourage this, the tests have been put directly below this function rather than at the bottom of the
Parses metadata out of an arbitrary command. These commands are model driven and could include just about anything. The parsing is slightly lossy due to the ~infinite expressiveness of an arbitrary command. The goal of the parsed metadata is to be able to provide the user with a human readable gis of what it is doing.