MCPcopy Create free account
hub / github.com/0xSero/codex-local / parse_command

Function parse_command

codex-rs/core/src/parse_command.rs:57–68  ·  view source on GitHub ↗

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 anyth

(command: &[String])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

begin_execFunction · 0.85
assert_parsedFunction · 0.85
on_exec_command_beginMethod · 0.85

Calls 2

parse_command_implFunction · 0.85
pushMethod · 0.45

Tested by 3

begin_execFunction · 0.68