Skip to main content

Crate oneharness

Crate oneharness 

Source
Expand description

oneharness: one CLI across many agentic coding harnesses.

This crate is the thin CLI shell. The reusable engine — the pure domain layer and the io boundary — lives in the oneharness-core library crate; here we add only the clap surface (cli) and the per-verb orchestration (commands). main parses with clap and calls dispatch.

Re-exports§

pub use cli::Cli;
pub use cli::Command;

Modules§

cli
Command-line surface: all args, subcommands, and defaults in one place.
commands
CLI verbs: each module orchestrates the domain + io layers for one command. Shared helpers (harness selection, JSON output) live here.
mock_harness
The deterministic harness responder shared by the shipped CLI and test fixture.

Enums§

OneharnessError

Functions§

dispatch
Run the parsed command and return the process exit code.