CmdID

CmdID / Commands

fastapi

Run FastAPI apps which uses Uvicorn under the hood. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a FastAPI app with automatic reload (for development)

fastapi run path/to/file.py --reloadIdentify

Serve your app in both development mode

fastapi dev path/to/file.pyIdentify

Specify the host and port to run on

fastapi run path/to/file.py --host host_address --port portIdentify

Set the app variable name (if not app) or specify a custom app directory

fastapi run path/to/file.py --app-dir path/to/app --app custom_app_nameIdentify

Display help

fastapi --helpIdentify

Display help for a subcommand

fastapi subcommand --helpIdentify