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

@ -48,9 +48,9 @@ def get_debug_flag() -> bool:
def get_load_dotenv(default: bool = True) -> bool:
"""Get whether the user has disabled loading dotenv files by setting
:envvar:`FLASK_SKIP_DOTENV`. The default is ``True``, load the
files.
"""Get whether the user has disabled loading default dotenv files by
setting :envvar:`FLASK_SKIP_DOTENV`. The default is ``True``, load
the files.
:param default: What to return if the env var isn't set.
"""