class Repos::CLI

The command line interface for the repos executable.

Private Instance Methods

say_git_status(clean, message) click to toggle source
# File lib/repos/cli.rb, line 52
def say_git_status(clean, message)
  status = clean ? 'clean' : 'dirty'
  color = clean ? :green : :red
  status = set_color status, color, true
  puts "#{status} #{message}"
end