reaction-cli
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -66,3 +66,3 @@ #!/usr/bin/env node | ||
(0, _commands.reset)(); | ||
}).help('h').alias('h', 'help').argv; | ||
}).help('h').alias('h', 'help').showHelpOnFail(false, 'Run \'reaction --help\' for available options').argv; | ||
@@ -69,0 +69,0 @@ // Default to 'reaction run' if no subcommand is specified |
@@ -7,2 +7,4 @@ 'use strict'; | ||
var _lodash = require('lodash'); | ||
var _chalk = require('chalk'); | ||
@@ -16,20 +18,18 @@ | ||
// extend chalk with custom log methods | ||
_chalk2.default.info = function (msg) { | ||
console.log(_chalk2.default.blue('' + msg)); | ||
var loggers = { | ||
info: function info(msg) { | ||
console.log(_chalk2.default.blue('' + msg)); | ||
}, | ||
success: function success(msg) { | ||
console.log(_chalk2.default.green('' + msg)); | ||
}, | ||
warn: function warn(msg) { | ||
console.log(_chalk2.default.yellow('' + msg)); | ||
}, | ||
error: function error(msg) { | ||
console.log(_chalk2.default.bold.red('' + msg)); | ||
} | ||
}; | ||
_chalk2.default.success = function (msg) { | ||
console.log(_chalk2.default.green('' + msg)); | ||
}; | ||
_chalk2.default.warn = function (msg) { | ||
console.log(_chalk2.default.yellow('' + msg)); | ||
}; | ||
_chalk2.default.error = function (msg) { | ||
console.log(_chalk2.default.bold.red('' + msg)); | ||
}; | ||
exports.default = _chalk2.default; | ||
// extend chalk with custom log methods | ||
exports.default = (0, _lodash.assign)(_chalk2.default, loggers); |
{ | ||
"name": "reaction-cli", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "A command line tool for working with the Reaction Commerce e-commerce platform.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.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
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
27716
500