title: In Grafana, How to setup datasource and load templates from cli?
body: <p>I am using grafana in Ubuntu. I want to automate two things.</p>
  
  <pre><code>1. Setting up Datasource.
  2. Load json template to dashboard.
  </code></pre>
  
  <p>Rather than GUI is there any option available like CLI ?</p>