Skip to content

zeke/outlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outlet

Outlet is a registry of plugins for the Heroku CLI.

API

Outlet has a simple HTTP JSON API.

Get all plugins

curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins

Get a specific plugin

curl -H "Content-Type: application/json" \
https://outlet.herokuapp.com/plugins/ddollar/heroku-redis-cli

Publish a plugin

# 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
}

Development

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.

License

MIT

About

A plugin registry for the Heroku CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published