Skip to content

Workflow API

workflow

get_default_config_path() -> Path

Return the path to the packaged default configuration file.

resolve_config_path(config_arg: str | None) -> Path

Resolve the configuration file path from the CLI argument.

Parameters:

Name Type Description Default
config_arg str | None

Path provided via --config. If None, the packaged default config is used.

required

Returns:

Type Description
Path

Resolved path to the configuration file.

build_parser() -> argparse.ArgumentParser

Build and return the CLI argument parser.

Returns:

Type Description
ArgumentParser

Parser with --config argument.

main() -> None

Parse CLI arguments, run the Network_Processor pipeline, and write output.