flask
A general utility script for Flask applications. Loads the application defined in the
$FLASK_APPenvironment 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
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
