Skip to content

scripts

GitHub Action edited this page Oct 15, 2026 · 3 revisions

iso_doc_type: "Procedure" iso_viewpoint: "ComponentView" type: "module" title: "regression_model_template::scripts — CLI Runner & Dispatcher" source_path: "src/regression_model_template/scripts.py" description: "Parses command-line arguments and dispatches job configurations to the Job execution context." tags: ["iso42010", "okf", "component_view", "cli"] timestamp: "2026-10-01T17:50:00Z" generated: "agent:wiki-iso-documentation-standard" verified: "true" last_verified_commit: "073b5fd"

regression_model_template::scripts — CLI Runner & Dispatcher

Source: src/regression_model_template/scripts.py (Lines: L1-L47)
Layer: Interface / CLI
Role: Main script entrypoint loading OmegaConf settings and executing designated lifecycle jobs.


1. Component Architecture

classDiagram
    class ScriptsModule {
        <<module>>
        +main(argv: list[str] | None = None) int
    }
Loading

main(argv: list[str] | None = None) -> int

  • Source Citation: src/regression_model_template/scripts.py:L31-L47
  • Visibility: Public (+)
  • Behavior: Parses command-line flags (e.g. --config-name), loads hierarchical configs via MainSettings, and executes job.run().

Related: Settings · Base Job · User Manual

Clone this wiki locally