@villedemontreal/scripting
Version:
Scripting core utilities
20 lines • 837 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TestingScriptGlobalCustomOptions2 = void 0;
const src_1 = require("../../src");
class TestingScriptGlobalCustomOptions2 extends src_1.ScriptBase {
get name() {
return `${src_1.TESTING_SCRIPT_NAME_PREFIX}testingScriptGlobalCustomOptions2`;
}
get description() {
return `A testing script with custom global options #2`;
}
async main() {
// ==========================================
// Uses the custom global option => compiled!
// ==========================================
this.logger.info(`custom #2: ${String(this.options.custom)}`);
}
}
exports.TestingScriptGlobalCustomOptions2 = TestingScriptGlobalCustomOptions2;
//# sourceMappingURL=testingScriptCustomGlobalOptions2.js.map