Class: Kontena::Plugin::Vagrant::Master::TerminateCommand
- Inherits:
-
Command
- Object
- Command
- Kontena::Plugin::Vagrant::Master::TerminateCommand
- Includes:
- Cli::Common
- Defined in:
- lib/kontena/plugin/vagrant/master/terminate_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 |
# File 'lib/kontena/plugin/vagrant/master/terminate_command.rb', line 7 def execute confirm unless forced? require_relative '../../../machine/vagrant' Kontena::Machine::Vagrant::MasterDestroyer.new.run! end |