"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CordovaNamespace = void 0; const color_1 = require("../../lib/color"); const namespace_1 = require("../../lib/namespace"); class CordovaNamespace extends namespace_1.Namespace { async getMetadata() { return { name: 'cordova', summary: 'Cordova functionality', description: ` These commands integrate with Apache Cordova, which brings native functionality to your app. Cordova Reference documentation: - Overview: ${color_1.strong('https://cordova.apache.org/docs/en/latest/guide/overview/index.html')} - CLI documentation: ${color_1.strong('https://cordova.apache.org/docs/en/latest/reference/cordova-cli/')} `, }; } async getCommands() { return new namespace_1.CommandMap([ ['build', async () => { const { BuildCommand } = await Promise.resolve().then(() => require('./build')); return new BuildCommand(this); }], ['compile', async () => { const { CompileCommand } = await Promise.resolve().then(() => require('./compile')); return new CompileCommand(this); }], ['emulate', async () => { const { EmulateCommand } = await Promise.resolve().then(() => require('./emulate')); return new EmulateCommand(this); }], ['platform', async () => { const { PlatformCommand } = await Promise.resolve().then(() => require('./platform')); return new PlatformCommand(this); }], ['plugin', async () => { const { PluginCommand } = await Promise.resolve().then(() => require('./plugin')); return new PluginCommand(this); }], ['prepare', async () => { const { PrepareCommand } = await Promise.resolve().then(() => require('./prepare')); return new PrepareCommand(this); }], ['resources', async () => { const { ResourcesCommand } = await Promise.resolve().then(() => require('./resources')); return new ResourcesCommand(this); }], ['run', async () => { const { RunCommand } = await Promise.resolve().then(() => require('./run')); return new RunCommand(this); }], ['requirements', async () => { const { RequirementsCommand } = await Promise.resolve().then(() => require('./requirements')); return new RequirementsCommand(this); }], ['platforms', 'platform'], ['plugins', 'plugin'], ['res', 'resources'], ]); } } exports.CordovaNamespace = CordovaNamespace;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
base.d.ts | File | 1021 B | 0644 |
|
base.js | File | 8.52 KB | 0644 |
|
build.d.ts | File | 493 B | 0644 |
|
build.js | File | 4.24 KB | 0644 |
|
compile.d.ts | File | 495 B | 0644 |
|
compile.js | File | 1.87 KB | 0644 |
|
emulate.d.ts | File | 193 B | 0644 |
|
emulate.js | File | 472 B | 0644 |
|
index.d.ts | File | 274 B | 0644 |
|
index.js | File | 2.4 KB | 0644 |
|
platform.d.ts | File | 526 B | 0644 |
|
platform.js | File | 4.92 KB | 0644 |
|
plugin.d.ts | File | 494 B | 0644 |
|
plugin.js | File | 4.13 KB | 0644 |
|
prepare.d.ts | File | 495 B | 0644 |
|
prepare.js | File | 4.88 KB | 0644 |
|
requirements.d.ts | File | 500 B | 0644 |
|
requirements.js | File | 2.07 KB | 0644 |
|
resources.d.ts | File | 323 B | 0644 |
|
resources.js | File | 4.17 KB | 0644 |
|
run.d.ts | File | 808 B | 0644 |
|
run.js | File | 15.22 KB | 0644 |
|