potiuk commented on code in PR #30432:
URL: https://github.com/apache/airflow/pull/30432#discussion_r1157160507
##########
airflow/cli/cli_config.py:
##########
@@ -1100,6 +1100,12 @@ class GroupCommand(NamedTuple):
CLICommand = Union[ActionCommand, GroupCommand]
DAGS_COMMANDS = (
+ ActionCommand(
+ name="details",
+ help="Get DAG details given a DAG id",
+ func=lazy_load_command("airflow.cli.commands.dag_command.dag_details"),
+ args=(ARG_DAG_ID, ARG_SUBDIR, ARG_OUTPUT, ARG_VERBOSE),
Review Comment:
Not needed. --subdir is only needed when you want to parse DAGs or filter
them out by where they came from. In your case you work on DAGs retrieved from
DB and you specify dag_id as selection criteria, so it seems it is not needed.
--
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]