Skip to content
Myr

Merge pull request #1057 from IanConnolly/doc-fix

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

Fixes #1051

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 61c5163, 367a168 · 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:docs/cli.rst+3 added-3 removed
15 unmodified lines
16-----------1718After installation of Flask you will now find a ``flask`` script installed19into your virtualenv. If you don't want to install Flask or you have a20special use-case you can also use ``python -mflask`` to accomplish exactly20special use-case you can also use ``python -m flask`` to accomplish exactly21the same.2223The way this script works is by providing access to all the commands on24your Flask application's :attr:`Flask.cli` instance as well as some
189 unmodified lines
214215The Script Info216---------------217218The Flask script integration might be confusing at first, but it has good219rasons it's done this way. The reason for this is that Flask wants to218The Flask script integration might be confusing at first, but there is a reason219why it's done this way. The reason for this is that Flask wants to220both provide custom commands to click as well as not loading your221application unless it has to. The reason for this is added flexibility.222223This way an application can provide custom commands, but even in the
18 unmodified lines