UNPKG

909 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const color_1 = require("../../lib/color");
4const namespace_1 = require("../../lib/namespace");
5class SSLNamespace extends namespace_1.Namespace {
6 async getMetadata() {
7 return {
8 name: 'ssl',
9 summary: 'Commands for managing SSL keys & certificates',
10 groups: ["experimental" /* EXPERIMENTAL */],
11 description: `
12These commands make it easy to manage SSL certificates for using HTTPS with ${color_1.input('ionic serve')}.
13 `,
14 };
15 }
16 async getCommands() {
17 return new namespace_1.CommandMap([
18 ['generate', async () => { const { SSLGenerateCommand } = await Promise.resolve().then(() => require('./generate')); return new SSLGenerateCommand(this); }],
19 ['g', 'generate'],
20 ]);
21 }
22}
23exports.SSLNamespace = SSLNamespace;