title: Deploy multiple functions to Google Cloud Functions in the terminal?
body: <p>To deploy a single function for a single trigger event we can follow the instructions as outlined in the documentation on deploying <a href="https://cloud.google.com/functions/docs/deploying/filesystem" rel="nofollow noreferrer">Google Cloud Functions</a>:</p>
  
  <pre><code>gcloud functions deploy NAME --runtime RUNTIME TRIGGER [FLAGS...]
  </code></pre>
  
  <p>It takes on average 30s-2m to deploy, which is fine and reasonable.</p>
  
  <p>However, I was wondering if its possible to write a script (e.g. in python) to deploy multiple functions at once?</p>
  
  <p>e.g. :</p>
  
  <pre><code>//somefile.py
  
  gcloud functions deploy function_1 --runtime RUNTIME TRIGGER [FLAGS...]
  gcloud functions deploy function_2 --runtime RUNTIME TRIGGER [FLAGS...]
  </code></pre>