vagrant/plugins/commands/reload/plugin.rb

19 lines
414 B
Ruby
Raw Normal View History

2012-04-19 20:59:48 +00:00
require "vagrant"
module VagrantPlugins
module CommandReload
2012-11-07 05:05:14 +00:00
class Plugin < Vagrant.plugin("2")
2012-04-19 20:59:48 +00: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 20:59:48 +00:00
end
end
end