Switching Heroku Accounts

Update April 2011: I now use the Heroku Plus gem to manage these accounts.

I have several Heroku accounts that I need to switch between for clients. I’ve been doing it by hand for a while, and then I remembered that I could just write a bash script to make a command for my forgetful brain.