You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: accounts.rb
    path of file: ./repos/travis.rb/lib/travis/cli
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'travis/cli'

module Travis
  module CLI
    class Accounts < ApiCommand
      descr
    
      def run
        authenticate
        accounts.each do |account|
          color = account.on_trial? ? :info : :green
          say [
            color(account.login, [color, :bold]),
            color("(#{account.name || account.login.capitalize}):", color),
            "#{description(account)},",
            account.repos_count == 1 ? '1 repository' : "#{account.repos_count} repositories"
          ].join(' ')
        end
        return if accounts.none?(&:on_trial?) || session.config['host'].nil?

        say session.config['host'], 'To set up a subscription, please visit %s.'
      end