"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCommand = void 0;
const commander_1 = require("commander");
const error_handler_1 = require("../utils/error.handler");
const create_service_1 = require("../services/create.service");
exports.createCommand = new commander_1.Command('create')
    .description('Create a new io.Connect Desktop project')
    .option('--source <url/path>', 'Override component source during setup')
    .action(async () => {
    try {
        const setupService = new create_service_1.CreateService();
        await setupService.runSetup();
    }
    catch (error) {
        error_handler_1.ErrorHandler.handle(error);
    }
});
//# sourceMappingURL=create.command.js.map