UNPKG

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