Skip to main content

Module invocation

Module invocation 

Source
Expand description

CLI-agnostic invocation model for the execution engine.

These types decouple the execution core from any specific CLI framework (e.g., clap). The executor accepts OperationCall and ExecutionContext and returns ExecutionResult, enabling library/SDK usage, alternative frontends, and unit testing without CLI parsing dependencies.

Structs§

ExecutionContext
Execution-time configuration that is orthogonal to the operation itself.
OperationCall
Describes a single API operation to invoke, fully resolved from user input.

Enums§

ExecutionResult
Structured result returned by the executor. The CLI layer decides how to render this (JSON, YAML, table, etc.) — the executor never prints.