heroku-rediscloud-plugin-example
heroku plugin to manage redis cloud
Last updated 5 years ago by dickeyxxx .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install heroku-rediscloud-plugin-example 
SYNC missed versions from official npm registry.

Heroku RedisCloud Plugin Example Circle CI

Code Climate Test Coverage npm version License

js-standard-style

This is an example plugin to demonstrate how to build Heroku CLI plugins. For a simpler example, check out heroku-hello-world.

You can test this plugin by installing it:

$ heroku plugins:install heroku-rediscloud-plugin-example
$ heroku help rediscloud

Structure

This plugin has a basic index.js that exports topics and commands:

exports.topics = {
  name: 'rediscloud',
  description: 'manages a rediscloud instance'
}

exports.commands = [
  require('./commands/clear'),
  require('./commands/get'),
  require('./commands/set')
]

We then use node's require to pull in the commands in ./commands. Each command outputs some metadata like help text, arguments, etc. Check the files out inside this repo to see more details.

Also check out the attributes set in package.json.

Current Tags

  • 3.0.0                                ...           latest (5 years ago)

4 Versions

  • 3.0.0                                ...           5 years ago
  • 2.0.0                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |