Permalink
21b4169 Nov 17, 2012
executable file 22 lines (16 sloc) 389 Bytes
#!/usr/bin/env node
var program = require('..');
program
.option('-f, --force', 'force installation')
.parse(process.argv);
var pkgs = program.args;
if (!pkgs.length) {
console.error('packages required');
process.exit(1);
}
console.log();
if (program.force) console.log(' force: install');
pkgs.forEach(function(pkg){
console.log(' install : %s', pkg);
});
console.log();