npm package diff

Package: @forge/cli-shared

Versions: 6.6.1-next.5 - 6.6.1-next.6

File: package/out/ui/command-line-ui.js

Index: package/out/ui/command-line-ui.js
===================================================================
--- package/out/ui/command-line-ui.js
+++ package/out/ui/command-line-ui.js
@@ -173,8 +173,28 @@
         ]);
         const formattedChoice = config?.format ? choices[formattedChoices.indexOf(choice)] : choice;
         return formattedChoice;
     }
+    async promptForMultiSelectList(message, choices, config) {
+        const formattedChoices = config?.format ? choices.map((choice) => config?.format?.(choice)) : choices;
+        const { selectedChoices } = await this.prompt([
+            {
+                type: 'checkbox',
+                name: 'selectedChoices',
+                choices: formattedChoices.map((choice, index) => ({
+                    name: choice,
+                    value: choice,
+                    index
+                })),
+                validate: (selected) => (selected.length === 0 ? text_1.Text.error.promptInputRequired : true),
+                message
+            }
+        ]);
+        const formattedSelectedChoices = config?.format
+            ? selectedChoices.map((choice) => choices[formattedChoices.indexOf(choice)])
+            : selectedChoices;
+        return formattedSelectedChoices;
+    }
     async promptForTable(message, infoMessage, columns, choices) {
         const { choice } = await this.prompt([
             {
                 type: 'multiple-choice-table',