1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const tslib_1 = require("tslib");
|
4 | const base_command_1 = require("../../base-command");
|
5 | const decorators_1 = require("../../utils/decorators");
|
6 | const helpers_1 = require("../../utils/helpers");
|
7 | class PrepareFunctions extends base_command_1.default {
|
8 | async run() {
|
9 | helpers_1.ensureFolderExists(this.locator.buildFunctionsDir, true);
|
10 | helpers_1.ensureFolderExists(this.locator.buildArtifactDir, true);
|
11 | }
|
12 | }
|
13 | PrepareFunctions.description = 'describe the command here';
|
14 |
|
15 | PrepareFunctions.aliases = ['p:f'];
|
16 | PrepareFunctions.hidden = true;
|
17 | PrepareFunctions.flags = Object.assign({}, base_command_1.default.flags);
|
18 | PrepareFunctions.args = [];
|
19 | tslib_1.__decorate([
|
20 | decorators_1.RequireIntegrationFolder()
|
21 | ], PrepareFunctions.prototype, "run", null);
|
22 | exports.default = PrepareFunctions;
|