Skip to content
Myr

Merge pull request #2603 from greyli/patch-8

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update cli help for FLASK_ENV

authored by David Lord · committed by GitHub · parents 8a1f362, 0570393 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:flask/cli.py+3 added-3 removed
816 unmodified lines
817A general utility script for Flask applications.818819Provides commands from Flask, extensions, and the application. Loads the820application defined in the FLASK_APP environment variable, or from a wsgi.py821file. Debug mode can be controlled with the FLASK_DEBUG822environment variable.821file. Setting the FLASK_ENV environment variable to 'development' will enable822debug mode.823824\b825 {prefix}{cmd} FLASK_APP=hello.py826 {prefix}{cmd} FLASK_DEBUG=1826 {prefix}{cmd} FLASK_ENV=development827 {prefix}flask run828""".format(829 cmd='export' if os.name == 'posix' else 'set',830 prefix='$ ' if os.name == 'posix' else '> '
25 unmodified lines