class Wocker::Cli::BuildCommand

Public Instance Methods

execute() click to toggle source
# File lib/wocker/cli/build_command.rb, line 10
def execute
  v = Wocker::Vagrantfile.new interface: interface, choco: choco?, restart: restart?
  v.create_from_wockerfile!

  Wocker::Vagrant.run "destroy", "-f"
  Wocker::Vagrant.run "up"
end