Skip to content

Instantly share code, notes, and snippets.

@micapam
Created March 19, 2013 04:29
Show Gist options
  • Save micapam/5193721 to your computer and use it in GitHub Desktop.
Save micapam/5193721 to your computer and use it in GitHub Desktop.
Run a single command on Heroku console
#!/bin/sh
HEROKU=/usr/local/heroku/bin/heroku
echo "$1; exit" | $HEROKU run console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment