heroku-cli-util
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "heroku-cli-util", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Set of helpful CLI utilities", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
@@ -12,3 +12,3 @@ var util = require('util'); | ||
commands.forEach(function (command) { | ||
console.error(util.format(' heroku %s:%s # %s', command.topic, command.name, command.shortHelp)); | ||
console.error(util.format(' heroku %s:%s # %s', command.topic, command.command, command.shortHelp)); | ||
}); | ||
@@ -22,3 +22,3 @@ } | ||
return commands.filter(function (command) { | ||
return command.topic === c[0] && command.name === c[1]; | ||
return command.topic === c[0] && command.command === c[1]; | ||
})[0]; | ||
@@ -25,0 +25,0 @@ } |
@@ -21,3 +21,3 @@ require('chai').should(); | ||
topic: 'foo', | ||
name: 'bar', | ||
command: 'bar', | ||
run: function () { cmdRan = true; } | ||
@@ -34,3 +34,3 @@ }; | ||
topic: 'foo', | ||
name: 'bar', | ||
command: 'bar', | ||
needsApp: true, | ||
@@ -37,0 +37,0 @@ run: function (context) { |
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
5872