Skip to content
Myr

Style the flask command consistently (#2120)

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

It's done like this in other parts of this doc.

authored by Sven-Hendrik Haase · committed by Markus Unterwaditzer · parent ccb5628 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/cli.rst+2 added-2 removed
137 unmodified lines
138 import os139 from yourapplication import create_app140 app = create_app(os.environ['YOURAPPLICATION_CONFIG'])141142Once this has happened you can make the flask command automatically pick143it up::142Once this has happened you can make the :command:`flask` command automatically143pick it up::144145 export YOURAPPLICATION_CONFIG=/path/to/config.cfg146 export FLASK_APP=/path/to/autoapp.py147
101 unmodified lines