MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / doctor

Function doctor

paperflow/cli.py:95–104  ·  view source on GitHub ↗

Check Python deps, provider credentials, and database state.

()

Source from the content-addressed store, hash-verified

93
94@app.command()
95def 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()

Callers

nothing calls this directly

Calls 3

load_provider_configFunction · 0.85
_run_pythonFunction · 0.85
describeMethod · 0.80

Tested by

no test coverage detected