heroku-cli-addons
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -239,3 +239,2 @@ 'use strict'; | ||
needsAuth: true, | ||
preauth: true, | ||
wantsApp: true, | ||
@@ -256,3 +255,3 @@ flags: [ | ||
run: cli.command(co.wrap(run)), | ||
run: cli.command({preauth: true}, co.wrap(run)), | ||
usage: `${topic} [--all|--app APP]`, | ||
@@ -259,0 +258,0 @@ description: 'lists your add-ons and attachments', |
@@ -9,3 +9,3 @@ 'use strict'; | ||
let run = cli.command(function(ctx, api) { | ||
let run = cli.command({preauth: true}, function(ctx, api) { | ||
return co(function*() { | ||
@@ -45,3 +45,2 @@ let addon = yield api.request({ | ||
needsAuth: true, | ||
preauth: true, | ||
args: [{name: 'addon'}], | ||
@@ -48,0 +47,0 @@ run: run, |
@@ -114,4 +114,4 @@ 'use strict'; | ||
args: [{name: 'addon'}], | ||
run: cli.command(co.wrap(run)), | ||
run: cli.command({preauth: true}, co.wrap(run)), | ||
description: `open an add-on's dashboard in your browser` | ||
}; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
let run = cli.command(function (ctx, api) { | ||
let run = cli.command({preauth: true}, function (ctx, api) { | ||
return co(function* () { | ||
@@ -28,3 +28,2 @@ let addon = yield api.get(`/addons/${ctx.args.addon}`); | ||
needsAuth: true, | ||
preauth: true, | ||
args: [{name: 'addon'}, {name: 'name'}], | ||
@@ -31,0 +30,0 @@ run: run, |
{ | ||
"name": "heroku-cli-addons", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "`heroku addons:*` commands", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
48290
1099