class Travis::CLI::Repos
def run
def run repositories.each do |repo| state_color = repo.active? ? :green : :yellow say color(repo.slug, [:bold, state_color]) + " " say color("(" << attributes(repo).map { |n,v| "#{n}: #{v ? "yes" : "no"}" }.join(", ") << ")", state_color) description = repo.description.lines.first.chomp unless repo.description.to_s.empty? say "Description: #{description || "???"}" empty_line unless repo == repositories.last end end