UNPKG

749 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const tslib_1 = require("tslib");
4const base_command_1 = require("../base-command");
5const decorators_1 = require("../utils/decorators");
6const commands_1 = require("../utils/commands");
7class 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}
13Link.description = 'link to remote Bearer integration';
14Link.flags = Object.assign({}, base_command_1.default.flags);
15Link.args = [{ name: 'Integration_Identifier' }];
16tslib_1.__decorate([
17 decorators_1.RequireIntegrationFolder()
18], Link.prototype, "run", null);
19exports.default = Link;