Sha256: 19d0caf67173145d2a84b08751e7ab5c62f6c4ee7ba1655841ab71136bd0b83f
Contents?: true
Size: 436 Bytes
Versions: 18
Compression:
Stored size: 436 Bytes
Contents
module Kontena::Cli::Nodes::Vagrant class TerminateCommand < Clamp::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions parameter "NAME", "Node name" def execute require_api_url require_current_grid require 'kontena/machine/vagrant' destroyer = Kontena::Machine::Vagrant::NodeDestroyer.new(client(require_token)) destroyer.run!(current_grid, name) end end end
Version data entries
18 entries across 18 versions & 1 rubygems