vagrant/plugins/commands/destroy/plugin.rb

22 lines
535 B
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-04-19 16:59:48 -04:00
require "vagrant"
module VagrantPlugins
module CommandDestroy
2012-11-07 00:05:14 -05:00
class Plugin < Vagrant.plugin("2")
2012-04-19 16:59:48 -04:00
name "destroy command"
description <<-DESC
The `destroy` command deletes and removes the files and record of your virtual machines.
All data is lost and a new VM will have to be created using `up`
DESC
2012-04-19 16:59:48 -04:00
command("destroy") do
require File.expand_path("../command", __FILE__)
Command
end
2012-04-19 16:59:48 -04:00
end
end
end