Skip to content

Commit 60633c8

Browse files
authored
Skip provider dependency generation for help command in breeze cli (#71689)
1 parent 24ff1f5 commit 60633c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎dev/breeze/src/airflow_breeze/commands/main_command.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ def main(ctx: click.Context, **kwargs: dict[str, Any]):
124124

125125
check_for_rosetta_environment()
126126
check_for_python_emulation()
127-
generate_provider_dependencies_if_needed()
127+
if not any(argument in {"-h", "--help"} for argument in sys.argv[1:]):
128+
generate_provider_dependencies_if_needed()
128129

129130
if not ctx.invoked_subcommand:
130131
ctx.forward(shell, extra_args={})

0 commit comments

Comments
 (0)