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