Outlet is a registry of plugins for the Heroku CLI.
Outlet has a simple HTTP JSON API.
curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins
curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins/ddollar/heroku-redis-cli
# Usage: publish_plugin heroku/heroku-deploy
#
function publish_plugin() {
user=$(echo "$1" | cut -d'/' -f1)
repo=$(echo "$1" | cut -d'/' -f2)
curl \
-X POST \
-H "Content-Type: application/json" \
-d "{\"user\":\"$user\",\"repo\":\"$repo\"}" \
https://outlet.herokuapp.com/plugins
}
brew install mongodb node # (if you don't already have 'em)
npm install # install dependencies
mongod& # run mongo in the background
foreman start # run node server with foreman
Pop open localhost:5000.
MIT