Skip to content
Myr

Update cli help for FLASK_ENV

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

authored by Grey Li · committed by David Lord · parent 22708b0 · 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
729 unmodified lines
730A general utility script for Flask applications.731732Provides commands from Flask, extensions, and the application. Loads the733application defined in the FLASK_APP environment variable, or from a wsgi.py734file. Debug mode can be controlled with the FLASK_DEBUG735environment variable.734file. Setting the FLASK_ENV environment variable to 'development' will enable735debug mode.736737\b738 {prefix}{cmd} FLASK_APP=hello.py739 {prefix}{cmd} FLASK_DEBUG=1739 {prefix}{cmd} FLASK_ENV=development740 {prefix}flask run741""".format(742 cmd='export' if os.name == 'posix' else 'set',743 prefix='$ ' if os.name == 'posix' else '> '
25 unmodified lines