Coverage for src / qdrant_loader / cli / commands / __init__.py: 67%
18 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-11 09:38 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-11 09:38 +0000
1"""CLI commands package — lazy imports for fast startup."""
4def __getattr__(name: str):
5 if name == "run_init":
6 from .init import run_init
8 return run_init
9 if name == "run_pipeline_ingestion":
10 from .ingest import run_pipeline_ingestion
12 return run_pipeline_ingestion
13 if name == "serve_cmd":
14 from .serve_cmd import serve_cmd
16 return serve_cmd
17 if name == "jobs_cmd":
18 from .jobs_cmd import jobs_cmd
20 return jobs_cmd
21 if name == "run_webhook_command":
22 from .webhook_cmd import run_webhook_command
24 return run_webhook_command
25 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
28__all__ = [
29 "run_init",
30 "run_pipeline_ingestion",
31 "serve_cmd",
32 "jobs_cmd",
33 "run_webhook_command",
34]