intreface.cli
Version:
Intreface Dev Tools
14 lines (13 loc) • 477 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = require("@oclif/command");
const system_1 = require("../@utility/system");
class Test extends command_1.Command {
async run() {
console.log(system_1.isServiceRunning('mysql'));
console.log(system_1.isServiceRunning('php-cgi'));
console.log(system_1.isServiceRunning('nginx'));
}
}
exports.default = Test;
Test.description = 'Test code';