Check Python deps, provider credentials, and database state.
()
| 93 | |
| 94 | @app.command() |
| 95 | def doctor() -> None: |
| 96 | """Check Python deps, provider credentials, and database state.""" |
| 97 | config = load_provider_config() |
| 98 | typer.echo(f"PaperFlow {__version__}") |
| 99 | typer.echo(f"Configured providers: {config.describe()}") |
| 100 | |
| 101 | script = PROJECT_ROOT / "scripts" / "doctor.py" |
| 102 | if script.exists(): |
| 103 | raise typer.Exit(code=_run_python(script)) |
| 104 | typer.echo("[warn] scripts/doctor.py not found; provider configuration shown above only.") |
| 105 | |
| 106 | |
| 107 | @app.command() |
nothing calls this directly
no test coverage detected