"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const plugin_1 = require("@ionic/cli/commands/cordova/plugin");
const utility_1 = require("./utility");
exports.IONIC_CONFIG_FILEPATH = 'ionic.config.json';
exports.IONIC_RESOURCE_ICON = 'resources/icon.png';
async function runCordovaCommand(argList) {
    let { cmd } = await utility_1.ionicCommandFactory((namespace) => new plugin_1.PluginCommand(namespace));
    return cmd.runCordova(argList);
}
exports.runCordovaCommand = runCordovaCommand;
function updateIonicConfig(tree, cb) {
    utility_1.updateJsonFile(tree, exports.IONIC_CONFIG_FILEPATH, cb);
    ;
}
exports.updateIonicConfig = updateIonicConfig;
//# sourceMappingURL=ionic.js.map