Class: Wocker::Cli::BuildCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Wocker::Cli::BuildCommand
- Defined in:
- lib/wocker/cli/build_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
10 11 12 13 14 15 16 |
# 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 |