nodejs-bash-completion/pm-list

27 lines
656 B
JavaScript
Executable File

#!/usr/bin/env node
const This = require('./this');
const {Command} = require('commander');
const program = new Command();
class PmList extends This {
constructor() {
super();
this.version = '0.0.1';
}
start() {
// Usage
const pmList = new PmList();
// Output: Methods of ExampleClass: [ 'methodOne', 'methodTwo' ]
// Properties of ExampleClass: [ 'propertyOne', 'propertyTwo', 'version' ] and Version: 1.1.0
// pmList.discovery();
program.name(this.scriptName).version('0.0.1').description('List packages of fake package manager').outputHelp();
}
}
// main
const pmList = new PmList();
pmList.start();