add --app, --env, --debug, and --env-file CLI options
This commit is contained in:
parent
fe4003b3c9
commit
99fa3c36ab
3 changed files with 197 additions and 54 deletions
|
|
@ -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.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue