mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
flask: add page (#3290)
This commit is contained in:
parent
dc7c28a5d5
commit
949ac07324
1 changed files with 16 additions and 0 deletions
16
pages/common/flask.md
Normal file
16
pages/common/flask.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue