nodejs-bash-completion/os

45 lines
824 B
JavaScript
Executable File

#!/usr/bin/env node
const This = require('./this');
class Os extends This {
constructor() {
super();
this.version = '0.0.1';
this.description = 'Shows informations about the operating system';
super.init(); // initialize commander with overridden version and description
}
info() {
/**
* @program()
* @command()
*/
console.warn(`Function ${this._getCurrentFunctionName()} not implemented`);
}
check() {
/**
* @program()
* @command()
*/
console.warn(`Function ${this._getCurrentFunctionName()} not implemented`);
}
checkEnv() {
/**
* @program()
* @command()
*/
console.warn(`Function ${this._getCurrentFunctionName()} not implemented`);
}
start() {
super.start();
}
}
// main
const os = new Os();
os.start();