potiuk commented on code in PR #33149:
URL: https://github.com/apache/airflow/pull/33149#discussion_r1285187157
##########
dev/breeze/src/airflow_breeze/commands/release_management_commands.py:
##########
@@ -821,38 +821,52 @@ def publish_docs(
"-a",
"--airflow-site-directory",
envvar="AIRFLOW_SITE_DIRECTORY",
+ type=click.Path(exists=True, file_okay=False, dir_okay=True,
resolve_path=True),
help="Local directory path of cloned airflow-site repo.",
required=True,
)
@click.option(
"-g",
"--gen-type",
- help="Type of back references to generate, supports: [airflow | providers
| helm]",
- type=str,
- required=True,
+ show_default=True,
+ help="Type of back references to generate. Forced to providers if
providers specified as arguments.",
Review Comment:
Well. It is actually foreced, not defaulted. Even if you specify providers
as parameter (and you get warning about it). . So I think "forcing" is better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]