Skip to main content

Module executor

Module executor 

Source
Expand description

In-process CommandExecutor implementor backed by the CLI’s own leaf handlers. Lets programmatic consumers drive the SDK’s per-leaf execute<E> entry points against the CLI’s local logic without spawning a subprocess.

run.rs also delegates here for non-instance argv — the objectiveai_sdk::cli::command::execute(&executor, request) call flows back through this executor down to each leaf.

Structs§

CliCommandExecutor
In-process executor. Owns a Context and dispatches each CommandRequest through the CLI’s local root dispatcher.