INNER CODE UNIT · Python
_build_selector_health_parser
georgekhananaev/google-reviews-scraper-pro · modules/cli.py:279
def _build_selector_health_parser(sub: argparse._SubParsersAction) -> None:
"""Build the 'selector-health' subcommand."""
sp = sub.add_parser("selector-health", help="Show selector hit-rate telemetry")
_add_common_args(sp)
sp.add_argument(
"--sessions", type=int, default=30,
help="include last N sessions (default: 30)",
)
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."""