ml_switcheroo.cli.handlers.meta¶
Meta Command Handlers.
This module provides handlers for introspection and schema export tools, enabling external agents (like LLMs or IDEs) to understand the internal data structures of ml-switcheroo.
Functions¶
|
Exports the Operation Definition Language (ODL) JSON Schema. |
Module Contents¶
- ml_switcheroo.cli.handlers.meta.handle_schema() int¶
Exports the Operation Definition Language (ODL) JSON Schema.
Prints the JSON schema derived from the Pydantic model OperationDef to standard output. This schema defines the structure required for valid YAML inputs to the define command.
- Returns:
Exit code (0 for success).
- Return type:
int