heroku-cli-util
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -5,2 +5,3 @@ var console = require('./console'); | ||
var prompt = require('./prompt'); | ||
var output = require('./output'); | ||
@@ -23,1 +24,2 @@ exports.run = require('./run'); | ||
exports.host = config.host; | ||
exports.action = output.action; |
{ | ||
"name": "heroku-cli-util", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
@@ -15,2 +15,14 @@ # heroku-cli-util | ||
## Action | ||
```js | ||
let h = require('heroku-cli-util'); | ||
let promise = heroku.apps(appname).info(); | ||
let app = yield h.action('getting apps', promise); | ||
console.log(`app name: ${app.name}`); | ||
// getting apps... done | ||
// app name: appname | ||
``` | ||
## Prompt | ||
@@ -17,0 +29,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
19046
24
480
170