nodejs-bash-completion/pm-search

27 lines
672 B
JavaScript
Executable File

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