Shared argument-extraction and delegation path for compile and the legacy
flat-flag entry point. Both parse the identical set of CLI flags and forward
them to run_pipeline() unchanged; they differ only in the error message emitted
when –doc-config is absent, which is why IMP-01.7 (byte-identical output)
holds between them (see test_compile_and_flat_flags_output_identical).
Returns:
Exit code, as returned by run_pipeline().
Methods
_run_pipeline_from_flags
_run_pipeline_from_flags(missing_doc_config_message: str) -> int
Shared argument-extraction and delegation path for compile and the legacy
flat-flag entry point. Both parse the identical set of CLI flags and forward
them to run_pipeline() unchanged; they differ only in the error message emitted
when –doc-config is absent, which is why IMP-01.7 (byte-identical output)
holds between them (see test_compile_and_flat_flags_output_identical).
Returns:
Exit code, as returned by run_pipeline().
| Parameter | Type | Description |
|---|---|---|
| args | argparse.Namespace | Parsed CLI arguments (compile or legacy flat-flag namespace). |
| missing_doc_config_message | str | Error message to print if no doc config was supplied. |
Generated with Flude
Copyright © 2026