2012-04-19 20:59:48 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
2012-05-22 05:43:13 +00:00
|
|
|
# These are used by various other commands, so we just load them
|
|
|
|
# up right away.
|
|
|
|
require File.expand_path("../start_mixins", __FILE__)
|
|
|
|
|
2012-04-19 20:59:48 +00:00
|
|
|
module VagrantPlugins
|
|
|
|
module CommandUp
|
|
|
|
class Plugin < Vagrant.plugin("1")
|
|
|
|
name "up command"
|
|
|
|
description <<-DESC
|
|
|
|
The `up` command brings the virtual environment up and running.
|
|
|
|
DESC
|
|
|
|
|
2012-05-22 05:43:13 +00:00
|
|
|
activated do
|
|
|
|
require File.expand_path("../command", __FILE__)
|
|
|
|
end
|
|
|
|
|
2012-04-19 20:59:48 +00:00
|
|
|
command("up") { Command }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|