title: Run airflow cli in Google Cloud Composer
body: <p>I tried to run airflow test cli in the Google Cloud Composer environment but it does not work.</p>
  
  <p>Basically, I want to run <code>airflow test</code> to test a task in the airflow environment. I am following the instruction here: <a href="https://cloud.google.com/composer/docs/how-to/accessing/airflow-cli" rel="nofollow noreferrer">https://cloud.google.com/composer/docs/how-to/accessing/airflow-cli</a></p>
  
  <p>This is the command I run:</p>
  
  <pre><code>gcloud beta composer environments run ENVIRONMENT_NAME test MY_DAG FIRST_TASK 2018-05-05
  </code></pre>
  
  <p>Output:</p>
  
  <p><code>ERROR: (gcloud.beta.composer.environments.run) unrecognized arguments:</code></p>