Skip to content
Myr

Merge pull request #1263 from its-not-a-bug-its-a-feature/patch-1

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

Small Typo fix

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents b24438b, cc8f47c · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/cli.rst+1 added-1 removed
251 unmodified lines
252info and keeps it around. From that point onwards modifications on the253script info can be done through click options. To simplify this pattern254the :func:`flask.cli.script_info_option` decorator was added.255256One Flask actually needs the individual Flask application it will invoke256Once Flask actually needs the individual Flask application it will invoke257the :meth:`flask.cli.ScriptInfo.load_app` method. This happens when the258server starts, when the shell is launched or when the script looks for an259application-provided click command.