Class: Constancy::CLI::CheckCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/constancy/cli/check_command.rb

Class Method Summary collapse

Class Method Details

.runObject



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/constancy/cli/check_command.rb', line 7

def run
  Constancy::CLI.configure

  Constancy.config.sync_targets.each do |target|
    target.print_report
    if not target.any_changes?
      puts "No changes to make for this sync target."
    end
    puts
  end
end