FastAPI CLI (Command Line Interface) is a command-line program that simplifies running and managing FastAPI applications. It provides commands to serve apps in development and production modes, manage projects, and more. It is usually installed as part of `fastapi[standard]` and receives frequent updates, typically involving dependency bumps and occasional breaking changes related to Python version support or internal dependencies.
Verified import paths — ran on the pinned version, not inferred.
The primary interaction is via the 'fastapi' command in the shell, e.g., 'fastapi dev'.
Create a `main.py` file with a basic FastAPI application instance named `app`. Then, run the application using `fastapi dev main.py` for development with auto-reload. For more explicit project setup, configure the `entrypoint` in `pyproject.toml` and then simply run `fastapi dev`.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.