Skip to main content

objectiveai_cli/command/
mod.rs

1//! Bare-naked CLI handlers mirroring the SDK's `cli::command` tree
2//! 1-for-1. Each leaf file here pairs with an SDK leaf at the same
3//! module path; the SDK leaf defines the typed `Request` / `Response` /
4//! `ResponseItem` shapes, this side defines the `execute` / `execute_transform`
5//! (and `execute_streaming` / `execute_streaming_transform` for chunk-or-id
6//! leaves) that actually do the work.
7//!
8//! `run.rs` parses argv → SDK `Command` → SDK `Request` (via the SDK's
9//! `TryFrom` impls), then dispatches to [`execute`] which fans out
10//! through the tier `mod.rs` files to the leaves below.
11
12pub mod agents;
13pub mod api;
14pub mod command;
15pub mod daemon;
16pub mod db;
17pub mod functions;
18pub mod kill_all;
19pub mod kill_helpers;
20pub mod laboratories;
21pub mod mcp;
22pub mod plugins;
23pub mod python;
24pub mod reexec;
25pub mod swarms;
26pub mod tools;
27pub mod update;
28pub mod viewer;
29
30pub use command::execute;