title: Overriding config file with env variable in Cypress
body: <p>I am using this link as a reference to pass configuration to my cypress tests : <a href="https://docs.cypress.io/api/plugins/configuration-api.html#Switch-between-multiple-configuration-files" rel="nofollow noreferrer">https://docs.cypress.io/api/plugins/configuration-api.html#Switch-between-multiple-configuration-files</a></p>
  <p>My sample config file looks like this:</p>
  <pre><code> {
    &quot;env&quot;: {
      &quot;country&quot;: &quot;US&quot;,
      &quot;testenv&quot;: &quot;staging&quot;,
      &quot;US&quot;: {
       &quot;baseUrl&quot; : &quot;somevalue&quot;
      }
  }
  </code></pre>
  <p>Now I want to override the country value from the command line, I tried using</p>
  <pre><code>cypress open --env country=&quot;Germany&quot;
  </code></pre>
  <p>but it still doesn't pickup the value passed in command line and still takes the value from configuration file. Any help on this is much appreciated!</p>