cursus.cli.strategies_cli

CLI for inspecting the builder strategy library (FZ 31e1d3b1).

Under the Strategy + Facade design a step builder is no longer a class you open and read — it is a selection of strategies + knobs bound at build time by resolve_handler. This command group makes that selection space discoverable, the same way cursus catalog makes the step registry discoverable:

cursus strategies axes

# the routing axes (sagemaker_step_type, step_assembly) + strategy counts

cursus strategies list [–axis sagemaker_step_type]

# every registered strategy; filter by axis. Columns: axis | name | verb | #knobs

cursus strategies show Training [–axis sagemaker_step_type]

# full detail for one strategy: verb, handler, every knob, preset knobs

cursus strategies for Training [–step-assembly code]

# THE authoring shortcut: given a sagemaker_step_type (+ assembly for Processing), print the # strategy the facade would bind and the knobs in play — “what do I get if I declare this?”

cursus strategies knobs –axis step_assembly –name code

# just the declarative knobs a strategy accepts

Every subcommand reads cursus.registry.strategy_registry (the single source the runtime router reads too), so the tool can never drift from what the builder actually does. Read-only.

main()[source]

Main entry point for the strategies CLI.