FastApp CLI

Documentation

fastapp

FastApp: Command Line Interface

fastapp [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

serve

Run Nginx and Gunicorn (with the UvicornWorker)

Pass the python path of the app to run. Defaults to fastapp:app

fastapp serve [OPTIONS] [APP]

Options

--nginx-config <nginx_config>

Path to Custom Nginx Configuration File

Arguments

APP

Optional argument

serve-debug

Run Uvicorn Debug/Development Server.

Pass the python path of the app to run. Defaults to fastapp:app

fastapp serve-debug [OPTIONS] [APP]

Arguments

APP

Optional argument