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 commands_1 = require("../utils/commands");
|
7 | class Link extends base_command_1.default {
|
8 | async run() {
|
9 | const { args } = this.parse(Link);
|
10 | await commands_1.linkIntegration.bind(this)(args.Integration_Identifier);
|
11 | }
|
12 | }
|
13 | Link.description = 'Link your local integration to a remote one';
|
14 | Link.flags = Object.assign({}, base_command_1.default.flags);
|
15 | Link.args = [{ name: 'Integration_Identifier' }];
|
16 | tslib_1.__decorate([
|
17 | decorators_1.RequireIntegrationFolder()
|
18 | ], Link.prototype, "run", null);
|
19 | exports.default = Link;
|