pgcli
pgcli copied to clipboard
Using environment variables to connect via ssh
trafficstars
Description
This is not an issue but more of a feature request.
I love this tool. I am wondering if it's possible to look into the environment variables when connecting via ssh.
Say you have a .env or a .env.local with DB_URL as a set environment variable that you can ssh into.
I am happy to contribute if possible but would like some feedback on your thoughts. Thanks in advance.
@shivan-s Certainly, feel free to contribute! I believe adding python-dotenv to the requirements and calling load_dotenv would do it.
Great thank you!