@forge/cli

13.1.013.2.0-next.4-experimental-c6a3916
out/command-line/controller/module-add-controller.js
~out/command-line/controller/module-add-controller.jsModified
+12−3
Index: package/out/command-line/controller/module-add-controller.js
===================================================================
--- package/out/command-line/controller/module-add-controller.js
+++ package/out/command-line/controller/module-add-controller.js
@@ -6,11 +6,17 @@
 const dependencies_merger_1 = require("../../module-add/dependencies-merger");
 const cli_shared_1 = require("@forge/cli-shared");
 const register_app_commands_1 = require("../register-app-commands");
 exports.MODULE_PRODUCTS = [
-    register_app_commands_1.TemplateContext.JIRA,
+    register_app_commands_1.TemplateContext.BITBUCKET,
+    register_app_commands_1.TemplateContext.COMPASS,
     register_app_commands_1.TemplateContext.CONFLUENCE,
-    register_app_commands_1.TemplateContext.JIRA_SERVICE_MANAGEMENT
+    register_app_commands_1.TemplateContext.CUSTOMER_SERVICE_MANAGEMENT,
+    register_app_commands_1.TemplateContext.DASHBOARDS,
+    register_app_commands_1.TemplateContext.JIRA,
+    register_app_commands_1.TemplateContext.JIRA_SERVICE_MANAGEMENT,
+    register_app_commands_1.TemplateContext.ROVO,
+    register_app_commands_1.TemplateContext.TEAMWORK_GRAPH
 ];
 class ModuleAddController {
     moduleView;
     moduleService;
@@ -63,9 +69,12 @@
         });
         this.renderRunResult(result, depChanges, hasConflicts, options);
     }
     async resolveProduct(options) {
-        const product = options.product ?? (await this.moduleView.promptForList(cli_shared_1.Text.module.add.promptSelectProduct, exports.MODULE_PRODUCTS));
+        const product = options.product ??
+            (await this.moduleView.promptForList(cli_shared_1.Text.module.add.promptSelectProduct, exports.MODULE_PRODUCTS, {
+                format: register_app_commands_1.formatProduct
+            }));
         if (!exports.MODULE_PRODUCTS.includes(product)) {
             throw new Error(cli_shared_1.Text.module.add.errorInvalidProduct(product));
         }
         return product;