INNER CODE UNIT · Python
_build_db_vacuum_parser
georgekhananaev/google-reviews-scraper-pro · modules/cli.py:289
def _build_db_vacuum_parser(sub: argparse._SubParsersAction) -> None:
"""Build the 'db-vacuum' subcommand."""
sp = sub.add_parser("db-vacuum", help="Checkpoint WAL and VACUUM the database")
_add_common_args(sp)
def _build_health_parser(sub: argparse._SubParsersAction) -> None:
"""Build the 'health' subcommand — synthetic scraper probe."""
sp = sub.add_parser("health", help="Run synthetic scraper health probe")
_add_common_args(sp)
sp.add_argument(
"--url", type=str, default=None,
help="place URL to probe (overrides health.synthetic_url config)",
)
def _build_logs_parser(sub: argparse._SubParsersAction) -> None:
"""Build the 'logs' subcommand."""