@interopio/desktop-cli
Version:
CLI tool for setting up, building and packaging io.Connect Desktop projects
19 lines • 852 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.installerCommand = void 0;
const commander_1 = require("commander");
const installer_service_1 = require("../services/installer/installer.service");
const error_handler_1 = require("../utils/error.handler");
exports.installerCommand = new commander_1.Command('installer')
.description('Package the standalone iocd Electron application and resources for distribution')
.option('--output <path>', 'Output directory for packages', 'dist/packages')
.option('--dir', 'Build unpacked directory only (useful for testing)')
.action(async (options) => {
try {
await (0, installer_service_1.makeInstaller)(options);
}
catch (error) {
error_handler_1.ErrorHandler.handle(error);
}
});
//# sourceMappingURL=installer.command.js.map