base-cli-process
Version:
Normalizers for common argv commands handled by the base-cli plugin. Also pre-processes the given object with base-cli-schema before calling `.process()`
11 lines (8 loc) • 375 B
JavaScript
;
exports.configError = function configError(app, name, prop) {
var appname = app._name + '.' + prop;
console.error('cannot resolve ' + appname + ', in package.json ' + appname + ' config');
};
exports.moduleError = function moduleError(app, type, name) {
return 'cannot find ' + app._name + ' ' + type + ' module ' + name + ' in local node_modules.';
};