nodejs-bash-completion/pm-install

27 lines
599 B
JavaScript
Executable File

#!/usr/bin/env node
const This = require('./this');
class PmInstall extends This {
constructor() {
super();
this.version = '0.0.1';
this.description = 'Install package with fake package manager';
super.init(); // initialize commander with overridden version and description
}
start() {
/**
* @program()
* @usage('-n 3 32 -l x y z -- op')
* @option('-n, --number <numbers...>', 'specify numbers')
* @option('-l, --letter [letters...]', 'specify letters')
*/
super.start();
}
}
// main
const pmInstall = new PmInstall();
pmInstall.start();