machinepack
Advanced tools
Comparing version 2.0.9 to 2.1.0
@@ -85,3 +85,3 @@ #!/usr/bin/env node | ||
// console.log('%s %s:', chalk.bold(chalk.blue(machinepack.machines.length)), machinepack.machines.length===1?'Machine':'Machines'); | ||
_.each(machinepack.machines, function(machineIdentity) { | ||
_.each(machinepack.machines.sort(), function(machineIdentity) { | ||
// Calculate appropriate machine method name | ||
@@ -88,0 +88,0 @@ var methodName = Javascript.convertToEcmascriptCompatibleVarname({ |
@@ -22,4 +22,4 @@ #!/usr/bin/env node | ||
program.usage(chalk.gray('[options]')+' '+chalk.bold('<command>')) | ||
.command('init', 'make this a machinepack') | ||
.command('info', 'get machinepack metadata') | ||
.command('browse', 'view on node-machine.org') | ||
.command('info', 'get pack metadata') | ||
.command('ls', 'list machines') | ||
@@ -31,2 +31,3 @@ .command('add', 'add a new machine') | ||
.command('cp <originalIdentity> <newIdentity>', 'copy machine') | ||
.command('init', 'make this module a machinepack') | ||
.command('about', 'about this module') | ||
@@ -84,2 +85,8 @@ .parse(process.argv); | ||
} | ||
if (program.args[0] === 'man') { | ||
return _alias('info'); | ||
} | ||
if (program.args[0] === 'show') { | ||
return _alias('browse'); | ||
} | ||
@@ -86,0 +93,0 @@ |
{ | ||
"name": "machinepack", | ||
"version": "2.0.9", | ||
"version": "2.1.0", | ||
"description": "CLI tool for working with machinepacks and their machines.", | ||
@@ -16,2 +16,3 @@ "bin": { | ||
"machinepack-exec": "./bin/machinepack-exec.js", | ||
"machinepack-browse": "./bin/machinepack-browse.js", | ||
"mp": "./bin/machinepack.js", | ||
@@ -26,3 +27,4 @@ "mp-about": "./bin/machinepack-about.js", | ||
"mp-rm": "./bin/machinepack-rm.js", | ||
"mp-exec": "./bin/machinepack-exec.js" | ||
"mp-exec": "./bin/machinepack-exec.js", | ||
"mp-browse": "./bin/machinepack-browse.js" | ||
}, | ||
@@ -51,4 +53,5 @@ "scripts": { | ||
"machinepack-javascript": "^0.2.1", | ||
"inquirer": "^0.8.0" | ||
"inquirer": "^0.8.0", | ||
"open": "0.0.5" | ||
} | ||
} |
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
23374
14
671
10
+ Addedopen@0.0.5
+ Addedopen@0.0.5(transitive)