airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] mik-laj commented on a change in pull request #7148: [AIRFLOW-6472] Correct short option in cli
Date Mon, 13 Jan 2020 16:27:08 GMT
mik-laj commented on a change in pull request #7148: [AIRFLOW-6472] Correct short option in
cli
URL: https://github.com/apache/airflow/pull/7148#discussion_r365898286
 
 

 ##########
 File path: UPDATING.md
 ##########
 @@ -57,6 +57,26 @@ https://developers.google.com/style/inclusive-documentation
 
 -->
 
+### Cli use exactly single character for short option
+
+Use exactly one single character for short option in Airflow cli, New commands are available
according to the following table:
+
+| Old command                                        | New command                      
                |
+|----------------------------------------------------|---------------------------------------------------|
+| ``airflow (dags|tasks|scheduler) [-sd, --subdir]`` | ``airflow (dags|tasks|scheduler) [-S,
--subdir]`` |
+| ``airflow tasks test [-dr, --dry_run]``            | ``airflow tasks test [-dr, --dry_run]``
          |
+| ``airflow dags backfill [-dr, --dry_run]``         | ``airflow dags backfill [-d, --dry_run]``
        |
+| ``airflow tasks clear [-dx, --dag_regex]``         | ``airflow tasks clear [-R, --dag_regex]``
        |
+| ``airflow kerberos [-kt, --keytab]``               | ``airflow kerberos [-k, --keytab]``
              |
+| ``airflow tasks run [-int, --interactive]``        | ``airflow tasks run [-N, --interactive]``
        |
+| ``airflow webserver [-hn, --hostname]``            | ``airflow webserver [-H, --hostname]``
           |
+| ``airflow celery worker [-cn, --celery_hostname]`` | ``airflow celery worker [-H, --celery_hostname]``
|
+| ``airflow celery flower [-hn, --hostname]``        | ``airflow celery flower [-H, --hostname]``
       |
+| ``airflow celery flower [-fc, --flower_conf]``     | ``airflow celery flower [-c, --flower_conf]``
    |
 
 Review comment:
   -c is already used.
   ```
           'conf': Arg(
               ('-c', '--conf'),
               "JSON string that gets pickled into the DagRun's conf attribute"),
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message