func (c Commands) GenerateSuggestions() []prompt.Suggest {
	var suggestions []prompt.Suggest
	for _, command := range c {
		suggestions = append(suggestions, prompt.Suggest{Text: command.name, Description: command.description})
	}
	return suggestions
}
// GenerateSuggestions creates a Suggest object
// for each Command in the Commands list
GenerateSuggestions creates a Suggest object
for each Command in the Commands list
// GenerateSuggestions creates a Suggest object // for each Command in the Commands list
func (c Commands) GenerateSuggestions() []prompt.Suggest {
	var suggestions []prompt.Suggest
	for _, command := range c {
		suggestions = append(suggestions, prompt.Suggest{Text: command.name, Description: command.description})
	}
	return suggestions
}
func ( c Commands ) GenerateSuggestions ( ) [ ] prompt . Suggest { var suggestions [ ] prompt . Suggest for _ , command := range c { suggestions = append ( suggestions , prompt . Suggest { Text : command . name , Description : command . description } ) } return suggestions }
GenerateSuggestions creates a Suggest object
for each Command in the Commands list
GenerateSuggestions creates a Suggest object for each Command in the Commands list