Skip to content
Myr

Merge pull request #1217 from jeffwidman/patch-1

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

Fix typo: "lated later" >> "added later"

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents a8c36fb, 193b94b · 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
106 unmodified lines
107they have the application context setup. Because of this, if you register108a callback on ``app.cli`` with the :meth:`~flask.cli.AppGroup.command` the109callback will automatically be wrapped through :func:`cli.with_appcontext`110which informs the cli system to ensure that an application context is set111up. This behavior is not available if a command is lated later with111up. This behavior is not available if a command is added later with112:func:`~click.Group.add_command` or through other means.113114It can also be disabled by passing ``with_appcontext=False`` to the115decorator::
144 unmodified lines