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