(config)
| 52 | }; |
| 53 | // Write the updated config file |
| 54 | var writeConfig = function (config) { |
| 55 | var data = "// nodeConfig.js\n\nconst nodeConfigInit = ".concat(JSON.stringify(config, null, 2), ";\n\nexport default nodeConfigInit;\n"); |
| 56 | fs.writeFileSync(configPath, data, "utf-8"); |
| 57 | }; |
| 58 | // Prompt user for input |
| 59 | var promptUser = function () { return __awaiter(void 0, void 0, void 0, function () { |
| 60 | var _a, key, label, api, method, category, description, doc, icon, inputs, addInputs, input, addMore; |