Update cli.py
This commit is contained in:
parent
8a6cdf1e2a
commit
6cf0136e18
1 changed files with 6 additions and 1 deletions
|
|
@ -505,10 +505,15 @@ _env_file_option = click.Option(
|
|||
["-e", "--env-file"],
|
||||
type=click.Path(exists=True, dir_okay=False),
|
||||
help="Load environment variables from this file. python-dotenv must be installed.",
|
||||
help=(
|
||||
"Load environment variables from this FILE in addition to environment "
|
||||
"variables from '.env' and '.flaskenv' files. Does not override "
|
||||
"environment variables from '.env' and '.flaskenv'. "
|
||||
"python-dotenv must be installed."
|
||||
),
|
||||
is_eager=True,
|
||||
expose_value=False,
|
||||
callback=_env_file_callback,
|
||||
)
|
||||
|
||||
|
||||
class FlaskGroup(AppGroup):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue