UNPKG

749 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const color_1 = require("../lib/color");
4const command_1 = require("../lib/command");
5const errors_1 = require("../lib/errors");
6class ShareCommand extends command_1.Command {
7 async getMetadata() {
8 return {
9 name: 'share',
10 type: 'global',
11 summary: '',
12 groups: ["hidden" /* 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}
21exports.ShareCommand = ShareCommand;