@@ -117,11 +117,7 @@ func getSelectionOptions(clients *shared.ClientFactory, categoryID string) []pro
117117 return templatePromptObjects [categoryID ]
118118}
119119
120- // getFrameworkOptions returns the framework choices for a given template
121- // selection.
122- //
123- // The order of entries should match the unfolded selection order for sake of
124- // new entries. This is not an implementation requirement.
120+ // getFrameworkOptions returns the framework choices for a given template.
125121func getFrameworkOptions (template string ) []promptObject {
126122 frameworkPromptObjects := map [string ][]promptObject {
127123 "slack-cli#ai-apps/support-agent" : {
@@ -254,7 +250,7 @@ func promptTemplateSelection(cmd *cobra.Command, clients *shared.ClientFactory,
254250 if categoryID == "slack-cli#ai-apps" {
255251 prompt = "Select a template:"
256252 } else {
257- prompt = "Select a framework :"
253+ prompt = "Select a language :"
258254 }
259255 }
260256 options := getSelectionOptions (clients , categoryID )
@@ -286,7 +282,7 @@ func promptTemplateSelection(cmd *cobra.Command, clients *shared.ClientFactory,
286282 for i , opt := range examples {
287283 choices [i ] = opt .Title
288284 }
289- choice , err := clients .IO .SelectPrompt (ctx , "Select a framework :" , choices , iostreams.SelectPromptConfig {
285+ choice , err := clients .IO .SelectPrompt (ctx , "Select a language :" , choices , iostreams.SelectPromptConfig {
290286 Description : func (value string , index int ) string {
291287 return examples [index ].Description
292288 },
0 commit comments