1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/flask.md
Managor a5833ce758
*: make more information links dynamic (#16244)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-23 10:24:12 +03:00

16 lines
364 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/stable/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`