Created
February 22, 2019 17:36
-
-
Save LeZuse/6a390d591697aba6c0fd9e546114272a to your computer and use it in GitHub Desktop.
Heroku app helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function staging() { | |
echo -e "\e[2m\$ heroku $@ -a heroku-staging-app\e[0m" | |
heroku $@ -a heroku-staging-app | |
} | |
function prod() { | |
echo -e "\e[2m\$ heroku $@ -a heroku-production-app\e[0m" | |
heroku $@ -a heroku-production-app | |
} | |
alias prapps='heroku pipelines:info heroku-pipeline | grep review' | |
function prapp (){ | |
local id=$1 | |
shift | |
echo -e "\e[2m\$ heroku $@ -a heroku-pipeline-pr-$id\e[0m" | |
heroku $@ -a "heroku-pipeline-pr-$id" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment