Class: VagrantPlugins::Unison::CommandInteract

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



126
127
128
129
130
131
132
133
134
135
136
137
138
139
# File 'lib/vagrant-unison-morroni/command.rb', line 126

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

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

      system(command)
    end
  end

  0
end