mik-laj commented on pull request #9070:
URL: https://github.com/apache/airflow/pull/9070#issuecomment-636314422


   You could also split the description of the `airflow rotate_fernet_key` and 
`airflow celery` command. Links should be in extended help.
   ```usage: airflow [-h]
                  
{celery,config,connections,dags,db,info,kerberos,pools,roles,rotate_fernet_key,scheduler,sync_perm,tasks,users,variables,version,webserver}
                  ...
   
   positional arguments:
   
     Groups:
       celery              Start celery components. Works only when using
                           CeleryExecutor. For more information, see 
https://airf
                           low.readthedocs.io/en/stable/executor/celery.html
       connections         List/Add/Delete connections
       dags                List and manage DAGs
       db                  Database operations
       pools               CRUD operations on pools
       roles               Create/List roles
       tasks               List and manage tasks
       users               CRUD operations on users
       variables           CRUD operations on variables
   
     Commands:
       config              Show current application configuration
       info                Show information about current Airflow and 
environment
       kerberos            Start a kerberos ticket renewer
       rotate_fernet_key   Rotate all encrypted connection credentials and
                           variables; see
                           
https://airflow.readthedocs.io/en/stable/howto/secure-
                           connections.html#rotating-encryption-keys
       scheduler           Start a scheduler instance
       sync_perm           Update permissions for existing roles and DAGs
       version             Show the version
       webserver           Start a Airflow webserver instance
   
   optional arguments:
     -h, --help            show this help message and exit
   
   airflow command error: the following arguments are required: subcommand, see 
help above.
   ```
   ```
   usage: airflow [-h]
                  
{celery,config,connections,dags,db,info,kerberos,pools,roles,rotate_fernet_key,scheduler,sync_perm,tasks,users,variables,version,webserver}
                  ...
   
   positional arguments:
   
     Groups:
       celery              [DISABLED] Start celery components.
       connections         List/Add/Delete connections
       dags                List and manage DAGs
       db                  Database operations
       pools               CRUD operations on pools
       roles               Create/List roles
       tasks               List and manage tasks
       users               CRUD operations on users
       variables           CRUD operations on variables
   
     Commands:
       config              Show current application configuration
       info                Show information about current Airflow and 
environment
       kerberos            Start a kerberos ticket renewer
       rotate_fernet_key   Rotate encrypted connection credentials and variables
       scheduler           Start a scheduler instance
       sync_perm           Update permissions for existing roles and DAGs
       version             Show the version
       webserver           Start a Airflow webserver instance
   
   optional arguments:
     -h, --help            show this help message and exit
   
   airflow command error: the following arguments are required: subcommand, see 
help above.
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to