<commit_before>module Brightbox
  desc 'Update a server group'
  arg_name 'grp-id'
  command [:show] do |c|
    c.action do |global_options, options, args|
      raise "You must specify server groups to show" if args.empty?

      sgs = ServerGroup.find_or_call(args) do |id|
        raise "Couldn't find server group #{id}"
      end

      table_opts = global_options.merge({
        :vertical => true,
        :fields => [:id, :name, :description, "servers"]
      })
      render_table(sgs, table_opts)
    end
  end
end<commit_msg>List servers properly in `groups show`<commit_after>module Brightbox
  desc 'Update a server group'
  arg_name 'grp-id'
  command [:show] do |c|
    c.action do |global_options, options, args|
      raise "You must specify server groups to show" if args.empty?

      sgs = ServerGroup.find_or_call(args) do |id|
        raise "Couldn't find server group #{id}"
      end

      table_opts = global_options.merge({
        :vertical => true,
        :fields => [:id, :name, :description, :servers]
      })
      render_table(sgs, table_opts)
    end
  end
end
{'fraction_non_alphanumeric': 0.1104014598540146, 'fraction_numerical': 0.0, 'mean_word_length': 2.835664335664336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2877172', 'n_tokens_mistral': 354, 'n_tokens_neox': 351, 'n_words': 110}