title: Can I use redis-cli with a connection URL?
body: <p>I am used to <code>psql</code> which I can use by feeding it the connection string without having to break it in different arguments, that is,</p>
  
  <pre><code>psql postgres://&lt;username&gt;:&lt;password&gt;@&lt;host&gt;:&lt;port&gt;
  </code></pre>
  
  <p>This is useful when I have such string from Heroku, for example.
  Can I do something similar with <code>redis-cli</code>? I want to feed it directly a connection string, such as the one that is stored on Heroku as environment variable when I install a Redis add-on. Is that possible? Example of the syntax I would like to use:</p>
  
  <pre><code>redis-cli redis://&lt;username&gt;:&lt;password&gt;@&lt;host&gt;:&lt;port&gt;
  </code></pre>