Class: VagrantPlugins::Unison::CommandRepeat

Inherits:
Object
  • Object
show all
Includes:
UnisonSync
Defined in:
lib/vagrant-unison-morroni/command.rb

Instance Method Summary collapse

Methods included from UnisonSync

#execute_sync_command

Instance Method Details

#executeObject



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/vagrant-unison-morroni/command.rb', line 82

def execute
  with_target_vms do |machine|
    execute_sync_command(machine) do |command|
      command.repeat = true
      command.terse = true
      command = command.to_s

      @env.ui.info "Running #{command}"

      system(command)
    end
  end

  0
end