build_tools.syllable_walk_web.cli
Command-line interface for the Pipe-Works Build Tools web application.
Provides python -m build_tools.syllable_walk_web entry point.
Classes
Settings loaded from the |
Functions
|
Load build-tools settings from the |
Create and return the argument parser for the web server. |
|
|
Parse command-line arguments. |
|
CLI entry point. |
Module Contents
- class build_tools.syllable_walk_web.cli.BuildToolsSettings[source]
Settings loaded from the
[build_tools]INI section.- output_base
Base directory for pipeline run discovery.
- sessions_dir
Optional explicit session storage directory.
- corpus_dir_a
Directory containing runs to auto-load into Patch A.
- corpus_dir_b
Directory containing runs to auto-load into Patch B.
- port
Optional explicit port.
Nonemeans auto-select.
- verbose
Print startup/runtime messages when True.
- output_base: pathlib.Path | None = None
- sessions_dir: pathlib.Path | None = None
- build_tools.syllable_walk_web.cli.load_build_tools_settings(config_path)[source]
Load build-tools settings from the
[build_tools]INI section.- Parameters:
config_path (pathlib.Path | None) – Path to INI file. If missing/None, defaults are used.
- Returns:
Parsed
BuildToolsSettingsinstance.- Return type:
- build_tools.syllable_walk_web.cli.create_argument_parser()[source]
Create and return the argument parser for the web server.
- Returns:
Configured ArgumentParser ready to parse command-line arguments.
- Return type: