Created
November 10, 2022 16:46
-
-
Save rlafranchi/1e5d0702cc12cfc4f965dc7a89b1317f to your computer and use it in GitHub Desktop.
Closing a heroku account requires all apps be destroyed first, here is a simple shell script to destroy all of your heroku apps using the heroku cli.
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
#!/bin/bash | |
heroku apps | while read app ; do | |
heroku apps:destroy $app --confirm $app | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment