Skip to main content

Crate codingest_cli

Crate codingest_cli 

Source
Expand description

Shared implementation of the codingest CLI.

codingest builds/checks a .kgl code graph from a checkout or one or more git revisions and installs Codingest’s code-review Agent Skill. The CodeTreeCommand variants are the binary’s top-level commands.

Pure-Rust over the sibling codingest builder + kglite::api::io (no libpython link in the standalone binary). The pip install codingest wheel links this same library through _run_cli, so command parsing and behavior cannot drift between the cargo binary and the console script.

Structs§

StaleGraph
A --require-fresh refusal. Typed so exit_code_for can distinguish it from an operational failure and give CI a dedicated exit code.

Functions§

exit_code_for
Process exit code for an error returned by run — the CI contract.
run
Run the CLI over an explicit argument vector, including the program name.