add --app, --env, --debug, and --env-file CLI options

This commit is contained in:
David Lord 2022-06-17 07:54:06 -07:00
parent fe4003b3c9
commit 99fa3c36ab
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 197 additions and 54 deletions

View file

@ -27,6 +27,12 @@ Unreleased
instance on every request. :issue:`2520`.
- A ``flask.cli.FlaskGroup`` Click group can be nested as a
sub-command in a custom CLI. :issue:`3263`
- Add ``--app``, ``--env``, and ``--debug`` options to the ``flask``
CLI, instead of requiring that they are set through environment
variables. :issue:`2836`
- Add ``--env-file`` option to the ``flask`` CLI. This allows
specifying a dotenv file to load in addition to ``.env`` and
``.flaskenv``. :issue:`3108`
Version 2.1.3