Class: VagrantPlugins::VirtualHostsUpdater::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-virtual-hostsupdater/command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject

include HostsFile



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/vagrant-virtual-hostsupdater/command.rb', line 6

def execute
  # options = {}
  # opts = OptionParser.new do |o|
  #   o.banner = 'Usage: vagrant hostmanager [vm-name]'
  #   o.separator ''

  #   o.on('--provider provider', String,
  #     'Update machines with the specific provider.') do |provider|
  #     options[:provider] = provider
  #   end
  # end

  # argv = parse_options(opts)
  # options[:provider] ||= @env.default_provider

  # generate(@env, options[:provider].to_sym)

  # with_target_vms(argv, options) do |machine|
  #   update(machine)
  # end
  puts "ran command"
end