func (s *searchCmd) showAllCharts(i *search.Index) { res := i.All() search.SortScore(res) fmt.Fprintln(s.out, s.formatSearchResults(res)) }
func (s *searchCmd) showAllCharts(i *search.Index) { for name := range i.Entries() { fmt.Fprintln(s.out, name) } }