automate heroku script for postgres color
How to find out in shell color for POSTGRES db connection:
COLOR=$(heroku addons | grep POSTGRES | awk -F' ' '{print $NF}')
heroku pg:promote $COLOR
Written by kreso
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#