Iss Prof created AIRFLOW-4909:
---------------------------------

             Summary: Outdated documentation 
[https://airflow.readthedocs.io/en/latest/cli.html#users]
                 Key: AIRFLOW-4909
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4909
             Project: Apache Airflow
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.10.3
            Reporter: Iss Prof
         Attachments: Airflow_Users_List_Fail.png, Airflow_Version.png

Hi team,

 

I wanted to run the following command from the "users" sub-command 
[documentation|https://airflow.readthedocs.io/en/latest/cli.html#users]:
{code:java}
airflow users --list{code}
But I encountered the following error:
{code:java}
airflow: error: argument subcommand: invalid choice: 'users' (choose from 
'backfill', 'list_dag_runs', 'list_tasks', 'clear', 'pause', 'unpause', 
'trigger_dag', 'delete_dag', 'pool', 'variables', 'kerberos', 'render', 'run', 
'initdb', 'list_dags', 'dag_state', 'task_failed_deps', 'task_state', 
'serve_logs', 'test', 'webserver', 'resetdb', 'upgradedb', 'scheduler', 
'worker', 'flower', 'version', 'connections', 'create_user', 'delete_user', 
'list_users', 'sync_perm', 'next_execution', 'rotate_fernet_key')
{code}

I can clearly see from the output that the sub-command "users" is not supported 
in the version of Airflow I am using. Instead I noticed the sub-command 
"list_users" in the output above.

I am using Mac and my Airflow version is v1.10.3. Is this an issue with the 
documentation or am I doing or understanding something wrong?

I can update the information on the above mentioned page if the need be and 
raise the PR for the same.

Thanks !




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to