1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ShareCommand = void 0;
|
4 | const color_1 = require("../lib/color");
|
5 | const command_1 = require("../lib/command");
|
6 | const errors_1 = require("../lib/errors");
|
7 | class ShareCommand extends command_1.Command {
|
8 | async getMetadata() {
|
9 | return {
|
10 | name: 'share',
|
11 | type: 'global',
|
12 | summary: '',
|
13 | groups: ["hidden" ],
|
14 | };
|
15 | }
|
16 | async run() {
|
17 | const dashUrl = this.env.config.getDashUrl();
|
18 | throw new errors_1.FatalException(`${color_1.input('ionic share')} has been removed.\n` +
|
19 | `The functionality now exists in the Ionic Dashboard: ${color_1.strong(dashUrl)}`);
|
20 | }
|
21 | }
|
22 | exports.ShareCommand = ShareCommand;
|