WIP - add extractor, generate snippet_data
This commit is contained in:
21
node_modules/ltcdr/examples/pm-install
generated
vendored
Executable file
21
node_modules/ltcdr/examples/pm-install
generated
vendored
Executable file
@ -0,0 +1,21 @@
|
||||
#!/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();
|
||||
Reference in New Issue
Block a user