I am used to psql
which I can use by feeding it the connection string without having to break it in different arguments, that is,
psql postgres://<username>:<password>@<host>:<port>
This is useful when I have such string from Heroku, for example.
Can I do something similar with redis-cli
? 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:
redis-cli redis://<username>:<password>@<host>:<port>