Create local data directories and initialize the SQLite database.
()
| 83 | |
| 84 | @app.command() |
| 85 | def 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() |
nothing calls this directly
no test coverage detected