INNER CODE UNIT · Python

_ensure_first_run

KatrielMoses/voidaccess · voidaccess_cli/main.py:135

def _ensure_first_run() -> None:
    """Auto-launch wizard on first invocation when no config exists."""
    if cli_config.CONFIG_PATH.exists():
        return
    console.print(
        "[bold magenta]Welcome to voidaccess.[/bold magenta] "
        "Let's get you configured first."
    )
    # Invoke wizard via Typer
    try:
        configure.configure_default(ctx=typer.Context(configure.app))
    except Exception:
        pass


@app.command("status")
def status(
    engines: bool = typer.Option(False, "--engines", help="Show search engine performance stats"),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…