nestia
Version:
Nestia CLI tool
16 lines • 649 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommandExecutor = void 0;
const child_process_1 = __importDefault(require("child_process"));
var CommandExecutor;
(function (CommandExecutor) {
function run(str) {
console.log(`\n$ ${str}`);
child_process_1.default.execSync(str, { stdio: "inherit" });
}
CommandExecutor.run = run;
})(CommandExecutor || (exports.CommandExecutor = CommandExecutor = {}));
//# sourceMappingURL=CommandExecutor.js.map