Skip to content
Myr

Update cli.py

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

authored by Abhinav Sagar · committed by David Lord · parent 043443d · 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:flask/cli.py+1 added-1 removed
457 unmodified lines
458459 For information as of why this is useful see :ref:`custom-scripts`.460461 :param add_default_commands: if this is True then the default run and462 shell commands wil be added.462 shell commands will be added.463 :param add_version_option: adds the ``--version`` option.464 :param create_app: an optional callback that is passed the script info and465 returns the loaded app.466 :param load_dotenv: Load the nearest :file:`.env` and :file:`.flaskenv`
444 unmodified lines