From bfc2d96082e7d5ece4ff4d2b15610d4a38cc17aa Mon Sep 17 00:00:00 2001 From: SteBaum Date: Fri, 24 May 2024 10:08:06 +0200 Subject: [PATCH] feat: added the option to read the --force option from .env file --- tdp/cli/params/plan/force_option.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tdp/cli/params/plan/force_option.py b/tdp/cli/params/plan/force_option.py index fd9b56d8..d760098a 100644 --- a/tdp/cli/params/plan/force_option.py +++ b/tdp/cli/params/plan/force_option.py @@ -12,6 +12,7 @@ def force_option(func: FC) -> FC: """ return click.option( "--force", + envvar="TDP_FORCE_PLAN_OVERRIDE", is_flag=True, help="Force overriding an existing deployment plan.", )(func)