Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.run = void 0; const checks_1 = require("../utils/checks"); const playbooks_1 = require("../lib/playbooks"); const run = async ({ resourceType, playbookFile, options, }) => { await (0, checks_1.checkProject)(); switch (resourceType) { case 'playbooks': await (0, playbooks_1.runPlaybooks)(playbookFile); break; default: console.log(`Resource type ${resourceType} can't be run.`); } return; }; exports.run = run; |