"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.modificationsCommand = void 0;
const commander_1 = require("commander");
const logger_1 = require("../utils/logger");
const modifications_service_1 = require("../services/modifications/modifications.service");
const error_handler_1 = require("../utils/error.handler");
const logger = logger_1.Logger.getInstance();
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) {
            logger.info(`Modifications apply command called for component: ${component}`);
            console.log(`Applying modifications for ${component} - Phase 6 implementation required`);
        }
        else {
            (0, modifications_service_1.applyModifications)("dev");
        }
    }
    catch (error) {
        error_handler_1.ErrorHandler.handle(error);
    }
});
//# sourceMappingURL=modifications.command.js.map