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

Function init

paperflow/cli.py:85–91  ·  view source on GitHub ↗

Create local data directories and initialize the SQLite database.

()

Source from the content-addressed store, hash-verified

83
84@app.command()
85def init() -> None:
86 """Create local data directories and initialize the SQLite database."""
87 script = PROJECT_ROOT / "scripts" / "init_db.py"
88 if not script.exists():
89 typer.echo(f"[error] init script not found: {script}", err=True)
90 raise typer.Exit(code=1)
91 raise typer.Exit(code=_run_python(script))
92
93
94@app.command()

Callers

nothing calls this directly

Calls 1

_run_pythonFunction · 0.85

Tested by

no test coverage detected