Socket
Socket
Sign inDemoInstall

heroku-cli-util

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-util - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

command.js

1

cli.js

@@ -13,1 +13,2 @@ var console = require('./console');

exports.prompt = require('./prompt');
exports.command = require('./command');

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc