UNPKG

ionic

Version:

A tool for creating and developing Ionic Framework mobile apps.

26 lines (24 loc) 907 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const color_1 = require("../../lib/color"); const namespace_1 = require("../../lib/namespace"); class PackageNamespace extends namespace_1.Namespace { async getMetadata() { return { name: 'package', summary: 'Appflow package functionality', description: ` Interface to execute commands about package builds on Ionic Appflow. Appflow package documentation: - Overview: ${color_1.strong('https://ion.link/appflow-package-docs')} `, groups: ["paid" /* PAID */], }; } async getCommands() { return new namespace_1.CommandMap([ ['build', async () => { const { BuildCommand } = await Promise.resolve().then(() => require('./build')); return new BuildCommand(this); }], ]); } } exports.PackageNamespace = PackageNamespace;