INNER CODE UNIT · Python

interactive

mrwadams/stride-gpt · stride_gpt/cli.py:127

def interactive(
    ctx: typer.Context,
    version: Annotated[
        bool,
        typer.Option(
            "--version",
            help="Show the version and exit.",
            callback=_version_callback,
            is_eager=True,
        ),
    ] = False,
) -> None:
    """Launch interactive session if no subcommand is given."""
    if ctx.invoked_subcommand is not None:
        return

    console.print(BANNER)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…