Skip to main content

Module cli

Module cli 

Source
Expand description

Shared helpers for thin package-surface CLI adapters.

Structs§

CliAdapterMetadata
Static package metadata for one CLI adapter.

Functions§

command_schema_json
Builds the standard CLI command schema payload.
package_metadata_json
Builds the standard CLI adapter metadata payload.
read_json_input
Reads a JSON request from --json, --file, or stdin.
run_wrapped_operation
Runs an operation through a library-owned surface and adds standard package-surface value fields if an older surface omitted them.