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npm/@capacitor/cli@7.3.0/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.runProgram = exports.run = void 0;\nconst tslib_1 = require(\"tslib\");\nconst commander_1 = require(\"commander\");\nconst path_1 = require(\"path\");\nconst colors_1 = tslib_1.__importDefault(require(\"./colors\"));\nconst config_1 = require(\"./config\");\nconst errors_1 = require(\"./errors\");\nconst ipc_1 = require(\"./ipc\");\nconst log_1 = require(\"./log\");\nconst telemetry_1 = require(\"./telemetry\");\nconst cli_1 = require(\"./util/cli\");\nconst emoji_1 = require(\"./util/emoji\");\nprocess.on('unhandledRejection', (error) => {\n    console.error(colors_1.default.failure('[fatal]'), error);\n});\nprocess.on('message', ipc_1.receive);\nasync function run() {\n    try {\n        const config = await (0, config_1.loadConfig)();\n        runProgram(config);\n    }\n    catch (e) {\n        process.exitCode = (0, errors_1.isFatal)(e) ? e.exitCode : 1;\n        log_1.logger.error(e.message ? e.message : String(e));\n    }\n}\nexports.run = run;\nfunction runProgram(config) {\n    commander_1.program.version(config.cli.package.version);\n    commander_1.program\n        .command('config', { hidden: true })\n        .description(`print evaluated Capacitor config`)\n        .option('--json', 'Print in JSON format')\n        .action((0, cli_1.wrapAction)(async ({ json }) => {\n        const { configCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/config')));\n        await configCommand(config, json);\n    }));\n    commander_1.program\n        .command('create [directory] [name] [id]', { hidden: true })\n        .description('Creates a new Capacitor project')\n        .action((0, cli_1.wrapAction)(async () => {\n        const { createCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/create')));\n        await createCommand();\n    }));\n    commander_1.program\n        .command('init [appName] [appId]')\n        .description(`Initialize Capacitor configuration`)\n        .option('--web-dir <value>', 'Optional: Directory of your projects built web assets')\n        .option('--skip-appid-validation', 'Optional: Skip validating the app ID for iOS and Android compatibility')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (appName, appId, { webDir, skipAppidValidation }) => {\n        const { initCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/init')));\n        await initCommand(config, appName, appId, webDir, skipAppidValidation);\n    })));\n    commander_1.program\n        .command('serve', { hidden: true })\n        .description('Serves a Capacitor Progressive Web App in the browser')\n        .action((0, cli_1.wrapAction)(async () => {\n        const { serveCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/serve')));\n        await serveCommand();\n    }));\n    commander_1.program\n        .command('sync [platform]')\n        .description(`${colors_1.default.input('copy')} + ${colors_1.default.input('update')}`)\n        .option('--deployment', 'Optional: if provided, pod install will use --deployment option')\n        .option('--inline', 'Optional: if true, all source maps will be inlined for easier debugging on mobile devices', false)\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { deployment, inline }) => {\n        const { syncCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/sync')));\n        await syncCommand(config, platform, deployment, inline);\n    })));\n    commander_1.program\n        .command('update [platform]')\n        .description(`updates the native plugins and dependencies based on ${colors_1.default.strong('package.json')}`)\n        .option('--deployment', 'Optional: if provided, pod install will use --deployment option')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { deployment }) => {\n        const { updateCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/update')));\n        await updateCommand(config, platform, deployment);\n    })));\n    commander_1.program\n        .command('copy [platform]')\n        .description('copies the web app build into the native app')\n        .option('--inline', 'Optional: if true, all source maps will be inlined for easier debugging on mobile devices', false)\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { inline }) => {\n        const { copyCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/copy')));\n        await copyCommand(config, platform, inline);\n    })));\n    commander_1.program\n        .command('build <platform>')\n        .description('builds the release version of the selected platform')\n        .option('--scheme <schemeToBuild>', 'iOS Scheme to build')\n        .option('--flavor <flavorToBuild>', 'Android Flavor to build')\n        .option('--keystorepath <keystorePath>', 'Path to the keystore')\n        .option('--keystorepass <keystorePass>', 'Password to the keystore')\n        .option('--keystorealias <keystoreAlias>', 'Key Alias in the keystore')\n        .option('--configuration <name>', 'Configuration name of the iOS Scheme')\n        .option('--keystorealiaspass <keystoreAliasPass>', 'Password for the Key Alias')\n        .addOption(new commander_1.Option('--androidreleasetype <androidreleasetype>', 'Android release type; APK or AAB').choices([\n        'AAB',\n        'APK',\n    ]))\n        .addOption(new commander_1.Option('--signing-type <signingtype>', 'Program used to sign apps (default: jarsigner)').choices([\n        'apksigner',\n        'jarsigner',\n    ]))\n        .addOption(new commander_1.Option('--xcode-team-id <xcodeTeamID>', 'The Developer team to use for building and exporting the archive'))\n        .addOption(new commander_1.Option('--xcode-export-method <xcodeExportMethod>', 'Describes how xcodebuild should export the archive (default:  app-store-connect)').choices([\n        'app-store-connect',\n        'release-testing',\n        'enterprise',\n        'debugging',\n        'developer-id',\n        'mac-application',\n        'validation',\n    ]))\n        .addOption(new commander_1.Option('--xcode-signing-style <xcodeSigningStyle>', 'The iOS signing style to use when building the app for distribution (default: automatic)').choices(['automatic', 'manual']))\n        .addOption(new commander_1.Option('--xcode-signing-certificate <xcodeSigningCertificate>', 'A certificate name, SHA-1 hash, or automatic selector to use for signing for iOS builds'))\n        .addOption(new commander_1.Option('--xcode-provisioning-profile <xcodeProvisioningProfile>', 'A provisioning profile name or UUID for iOS builds'))\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { scheme, flavor, keystorepath, keystorepass, keystorealias, keystorealiaspass, androidreleasetype, signingType, configuration, xcodeTeamId, xcodeExportMethod, xcodeSigningStyle, xcodeSigningCertificate, xcodeProvisioningProfile, }) => {\n        const { buildCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/build')));\n        await buildCommand(config, platform, {\n            scheme,\n            flavor,\n            keystorepath,\n            keystorepass,\n            keystorealias,\n            keystorealiaspass,\n            androidreleasetype,\n            signingtype: signingType,\n            configuration,\n            xcodeTeamId,\n            xcodeExportMethod,\n            xcodeSigningType: xcodeSigningStyle,\n            xcodeSigningCertificate,\n            xcodeProvisioningProfile,\n        });\n    })));\n    commander_1.program\n        .command(`run [platform]`)\n        .description(`runs ${colors_1.default.input('sync')}, then builds and deploys the native app`)\n        .option('--scheme <schemeName>', 'set the scheme of the iOS project')\n        .option('--flavor <flavorName>', 'set the flavor of the Android project (flavor dimensions not yet supported)')\n        .option('--list', 'list targets, then quit')\n        .addOption(new commander_1.Option('--json').hideHelp())\n        .option('--target <id>', 'use a specific target')\n        .option('--no-sync', `do not run ${colors_1.default.input('sync')}`)\n        .option('--forwardPorts <port:port>', 'Automatically run \"adb reverse\" for better live-reloading support')\n        .option('-l, --live-reload', 'Enable Live Reload')\n        .option('--host <host>', 'Host used for live reload')\n        .option('--port <port>', 'Port used for live reload')\n        .option('--configuration <name>', 'Configuration name of the iOS Scheme')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { scheme, flavor, list, json, target, sync, forwardPorts, liveReload, host, port, configuration }) => {\n        const { runCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/run')));\n        await runCommand(config, platform, {\n            scheme,\n            flavor,\n            list,\n            json,\n            target,\n            sync,\n            forwardPorts,\n            liveReload,\n            host,\n            port,\n            configuration,\n        });\n    })));\n    commander_1.program\n        .command('open [platform]')\n        .description('opens the native project workspace (Xcode for iOS)')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform) => {\n        const { openCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/open')));\n        await openCommand(config, platform);\n    })));\n    commander_1.program\n        .command('add [platform]')\n        .description('add a native platform project')\n        .option('--packagemanager <packageManager>', 'The package manager to use for dependency installs (CocoaPods or SPM)')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform, { packagemanager }) => {\n        const { addCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/add')));\n        const configWritable = config;\n        if (packagemanager === 'SPM') {\n            configWritable.cli.assets.ios.platformTemplateArchive = 'ios-spm-template.tar.gz';\n            configWritable.cli.assets.ios.platformTemplateArchiveAbs = (0, path_1.resolve)(configWritable.cli.assetsDirAbs, configWritable.cli.assets.ios.platformTemplateArchive);\n        }\n        await addCommand(configWritable, platform);\n    })));\n    commander_1.program\n        .command('ls [platform]')\n        .description('list installed Cordova and Capacitor plugins')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform) => {\n        const { listCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/list')));\n        await listCommand(config, platform);\n    })));\n    commander_1.program\n        .command('doctor [platform]')\n        .description('checks the current setup for common errors')\n        .action((0, cli_1.wrapAction)((0, telemetry_1.telemetryAction)(config, async (platform) => {\n        const { doctorCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/doctor')));\n        await doctorCommand(config, platform);\n    })));\n    commander_1.program\n        .command('telemetry [on|off]', { hidden: true })\n        .description('enable or disable telemetry')\n        .action((0, cli_1.wrapAction)(async (onOrOff) => {\n        const { telemetryCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/telemetry')));\n        await telemetryCommand(onOrOff);\n    }));\n    commander_1.program\n        .command('📡', { hidden: true })\n        .description('IPC receiver command')\n        .action(() => {\n        // no-op: IPC messages are received via `process.on('message')`\n    });\n    commander_1.program\n        .command('plugin:generate', { hidden: true })\n        .description('start a new Capacitor plugin')\n        .action((0, cli_1.wrapAction)(async () => {\n        const { newPluginCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/new-plugin')));\n        await newPluginCommand();\n    }));\n    commander_1.program\n        .command('migrate')\n        .option('--noprompt', 'do not prompt for confirmation')\n        .option('--packagemanager <packageManager>', 'The package manager to use for dependency installs (npm, pnpm, yarn)')\n        .description('Migrate your current Capacitor app to the latest major version of Capacitor.')\n        .action((0, cli_1.wrapAction)(async ({ noprompt, packagemanager }) => {\n        const { migrateCommand } = await Promise.resolve().then(() => tslib_1.__importStar(require('./tasks/migrate')));\n        await migrateCommand(config, noprompt, packagemanager);\n    }));\n    commander_1.program.arguments('[command]').action((0, cli_1.wrapAction)(async (cmd) => {\n        if (typeof cmd === 'undefined') {\n            log_1.output.write(`\\n  ${(0, emoji_1.emoji)('⚡️', '--')}  ${colors_1.default.strong('Capacitor - Cross-Platform apps with JavaScript and the Web')}  ${(0, emoji_1.emoji)('⚡️', '--')}\\n\\n`);\n            commander_1.program.outputHelp();\n        }\n        else {\n            (0, errors_1.fatal)(`Unknown command: ${colors_1.default.input(cmd)}`);\n        }\n    }));\n    commander_1.program.parse(process.argv);\n}\nexports.runProgram = runProgram;\n"]}