Skip to content

callback

fastagency.cli.cli.callback #

callback(version: Optional[bool] = None) -> None

FastAgency CLI - The [bold]fastapi[/bold] command line app. 😎

Manage your [bold]FastAgency[/bold] projects, run your FastAgency apps, and more.

Read more in the docs: [link]https://fastagency.ai/latest/[/link].

Source code in fastagency/cli/cli.py
@app.callback()
def callback(
    version: Annotated[
        Optional[bool],
        typer.Option(
            "--version", help="Show the version and exit.", callback=version_callback
        ),
    ] = None,
) -> None:
    """FastAgency CLI - The [bold]fastapi[/bold] command line app. 😎

    Manage your [bold]FastAgency[/bold] projects, run your FastAgency apps, and more.

    Read more in the docs: [link]https://fastagency.ai/latest/[/link].
    """  # noqa: D415