File: //proc/self/root/usr/local/lib/node_modules/@ionic/cli/commands/share.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShareCommand = void 0;
const color_1 = require("../lib/color");
const command_1 = require("../lib/command");
const errors_1 = require("../lib/errors");
class ShareCommand extends command_1.Command {
async getMetadata() {
return {
name: 'share',
type: 'global',
summary: '',
groups: ["hidden" /* MetadataGroup.HIDDEN */],
};
}
async run() {
const dashUrl = this.env.config.getDashUrl();
throw new errors_1.FatalException(`${(0, color_1.input)('ionic share')} has been removed.\n` +
`The functionality now exists in the Ionic Dashboard: ${(0, color_1.strong)(dashUrl)}`);
}
}
exports.ShareCommand = ShareCommand;