mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:02:09 +02:00
16 lines
363 B
Markdown
16 lines
363 B
Markdown
# flask
|
|
|
|
> A general utility script for Flask applications. Loads the application defined in the `FLASK_APP` environment variable.
|
|
> More information: <https://flask.palletsprojects.com/en/1.1.x/cli/>.
|
|
|
|
- Run a development server:
|
|
|
|
`flask run`
|
|
|
|
- Show the routes for the app:
|
|
|
|
`flask routes`
|
|
|
|
- Run a Python interactive shell in the app's context:
|
|
|
|
`flask shell`
|