"use strict";
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const autorest_extension_base_1 = require("@azure-tools/autorest-extension-base");
const plugin_create_inline_properties_1 = require("./plugins/plugin-create-inline-properties");
const plugin_tweak_model_1 = require("./plugins/plugin-tweak-model");
const plugin_tweak_model_azure_v2_1 = require("./plugins/plugin-tweak-model-azure-v2");
const create_commands_v2_1 = require("./plugins/create-commands-v2");
const cs_namer_v2_1 = require("./plugins/cs-namer-v2");
const ps_namer_v2_1 = require("./plugins/ps-namer-v2");
const llcsharp_v2_1 = require("./plugins/llcsharp-v2");
const powershell_v2_1 = require("./plugins/powershell-v2");
const add_azure_completers_v2_1 = require("./plugins/add-azure-completers-v2");
const modifiers_v2_1 = require("./plugins/modifiers-v2");
const plugin_tweak_m4_model_1 = require("./plugins/plugin-tweak-m4-model");
require('source-map-support').install();
async function main() {
    const pluginHost = new autorest_extension_base_1.AutoRestExtension();
    // Following are plugins moved from remodeler
    pluginHost.Add('tweakm4codemodel', plugin_tweak_m4_model_1.tweakM4ModelPlugin);
    pluginHost.Add('tweakcodemodel-v2', plugin_tweak_model_1.tweakModelPlugin);
    pluginHost.Add('tweakcodemodelazure-v2', plugin_tweak_model_azure_v2_1.tweakModelAzurePluginV2);
    pluginHost.Add('create-virtual-properties-v2', plugin_create_inline_properties_1.createInlinedPropertiesPlugin);
    pluginHost.Add('create-commands-v2', create_commands_v2_1.createCommandsV2);
    pluginHost.Add('csnamer-v2', cs_namer_v2_1.csnamerV2);
    pluginHost.Add('psnamer-v2', ps_namer_v2_1.namerV2);
    pluginHost.Add('modifiers-v2', modifiers_v2_1.applyModifiersV2);
    pluginHost.Add('add-azure-completers-v2', add_azure_completers_v2_1.addCompleterV2);
    pluginHost.Add('llcsharp-v2', llcsharp_v2_1.llcsharpV2);
    pluginHost.Add('powershell-v2', powershell_v2_1.powershellV2);
    await pluginHost.Run();
}
exports.main = main;
main();
//# sourceMappingURL=main.js.map