"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.modificationsCommand = void 0;
const commander_1 = require("commander");
const modifications_service_1 = require("../services/modifications/modifications.service");
const error_handler_1 = require("../utils/error.handler");
exports.modificationsCommand = new commander_1.Command('modifications')
    .description('Modification management commands');
exports.modificationsCommand
    .command('apply [component]')
    .description('Apply all modifications or modifications for specific component')
    .action((component) => {
    try {
        if (component) {
            console.log(`Applying modifications for ${component} - not implemented yet`);
        }
        else {
            (0, modifications_service_1.applyModifications)("dev");
        }
    }
    catch (error) {
        error_handler_1.ErrorHandler.handle(error);
    }
});
//# sourceMappingURL=modifications.command.js.map