uranusjr commented on code in PR #44908:
URL: https://github.com/apache/airflow/pull/44908#discussion_r1885993100


##########
airflow/cli/cli_config.py:
##########
@@ -857,6 +857,23 @@ def string_lower_type(val):
     ("option",),
     help="The option name",
 )
+
+ARG_LINT_CONFIG_SECTION = Arg(
+    ("--section",),
+    help="The section name to lint in the airflow config.",
+)
+ARG_LINT_CONFIG_OPTION = Arg(
+    ("--option",),
+    help="The option name to lint in the airflow config.",
+)
+ARG_LINT_CONFIG_IGNORE_SECTION = Arg(
+    ("--ignore-section",),
+    help="The section name to ignore to lint in the airflow config.",
+)
+ARG_LINT_CONFIG_IGNORE_OPTION = Arg(
+    ("--ignore-option",),
+    help="The option name to ignore to lint in the airflow config.",
+)

Review Comment:
   I think these need to be multi-value options so the user can select/ignore 
multiple keys/values in one command. The `string_list_type` type should be 
useful for this.



-- 
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]

Reply via email to