16 lines
435 B
Python
16 lines
435 B
Python
"""Run the parser CLI as ``python -m scraper.parse_cli parse --input ...``.
|
|
|
|
The shared ``python -m scraper`` entrypoint (``scraper/__main__.py``) is jointly
|
|
owned by the ingestion task, so this module provides a parser-only entry point
|
|
that does not depend on the sibling's ``cli.py`` / ``__init__.py``.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
|
|
from .parse_cli import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|