Class: Vagrant::VSshFs::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/valkyrie-sshfs/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.synopsisObject



4
5
6
# File 'lib/valkyrie-sshfs/command.rb', line 4

def self.synopsis
  "mounts sshfs shared folders"
end

Instance Method Details

#executeObject



8
9
10
11
12
13
14
# File 'lib/valkyrie-sshfs/command.rb', line 8

def execute
  with_target_vms do |machine|
    get_builder(machine).mount!
  end

  0
end