Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line surface.

Six commands, two triggers (pre-commit and pre-push). Anything that needs a platform API, a webhook or a database was dropped in 2.0 - see docs/rust-migration.md.

Each command owns its arguments in its own module, so a command’s contract and its behaviour stay together as the later phases fill them in.

Modules§

acknowledge
Record source-sensitive LLM findings that have been reviewed and rejected.
auth
drep auth - manage the keys drep holds for this machine.
check
drep check - the commit gate, end to end.
doctor
drep doctor - report what drep can actually do in this repository.
init
drep init - write drep.toml and install the git hooks.
lint_docs
drep lint-docs - rule-based markdown checks. No LLM, no network.
render
Output shared by the commands that report findings.

Structs§

Cli

Enums§

Command
OutputFormat
How findings are rendered.

Functions§

run
Dispatch a parsed command.