vagrant/plugins/commands/reload/plugin.rb

22 lines
483 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 CommandReload
2012-11-07 00:05:14 -05:00
class Plugin < Vagrant.plugin("2")
2012-04-19 16:59:48 -04:00
name "reload command"
description <<-DESC
The `reload` command will halt, reconfigure your machine based on
the Vagrantfile, and bring it back up.
DESC
command("reload") do
require File.expand_path("../command", __FILE__)
Command
end
2012-04-19 16:59:48 -04:00
end
end
end