heroku-cli-util
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -13,1 +13,2 @@ var console = require('./console'); | ||
exports.prompt = require('./prompt'); | ||
exports.command = require('./command'); |
{ | ||
"name": "heroku-cli-util", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
@@ -63,2 +63,22 @@ # heroku-cli-util | ||
## Command | ||
Used for initializing a plugin command | ||
```js | ||
let h = require('heroku-cli-util'); | ||
module.exports.commands = [ | ||
{ | ||
topic: 'apps', | ||
command: 'info', | ||
needsAuth: true, | ||
needsApp: true, | ||
run: h.command(function* (context, heroku) { | ||
let app = yield heroku.apps(context.app).info(); | ||
console.dir(app); | ||
}) | ||
} | ||
]; | ||
``` | ||
## Preauth | ||
@@ -65,0 +85,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11683
21
281
103