Created
June 2, 2016 10:38
-
-
Save inversion/89f5dbff2bd5fef1018c07dba5d44849 to your computer and use it in GitHub Desktop.
List the drains for all your heroku apps
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
$(which ggrep || which grep) -oP '(^[a-z].+) ' | xargs -n 1 -I % sh -c 'echo % && heroku drains --app %;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment