This commit is contained in:
Mitchell Hashimoto 2011-12-17 19:53:57 -08:00
parent e29c5436e1
commit 9bdff4c507
2 changed files with 26 additions and 26 deletions

View File

@ -94,18 +94,18 @@ end
I18n.load_path << File.expand_path("templates/locales/en.yml", Vagrant.source_root) I18n.load_path << File.expand_path("templates/locales/en.yml", Vagrant.source_root)
# Register the built-in commands # Register the built-in commands
Vagrant.commands.register(:box) { Vagrant::Command::Box } Vagrant.commands.register(:box) { Vagrant::Command::Box }
Vagrant.commands.register(:destroy) { Vagrant::Command::Destroy } Vagrant.commands.register(:destroy) { Vagrant::Command::Destroy }
Vagrant.commands.register(:halt) { Vagrant::Command::Halt } Vagrant.commands.register(:halt) { Vagrant::Command::Halt }
Vagrant.commands.register(:package) { Vagrant::Command::Package } Vagrant.commands.register(:package) { Vagrant::Command::Package }
Vagrant.commands.register(:provision) { Vagrant::Command::Provision } Vagrant.commands.register(:provision) { Vagrant::Command::Provision }
Vagrant.commands.register(:reload) { Vagrant::Command::Reload } Vagrant.commands.register(:reload) { Vagrant::Command::Reload }
Vagrant.commands.register(:resume) { Vagrant::Command::Resume } Vagrant.commands.register(:resume) { Vagrant::Command::Resume }
Vagrant.commands.register(:ssh) { Vagrant::Command::SSH } Vagrant.commands.register(:ssh) { Vagrant::Command::SSH }
Vagrant.commands.register(:"ssh-config") { Vagrant::Command::SSHConfig } Vagrant.commands.register(:"ssh-config") { Vagrant::Command::SSHConfig }
Vagrant.commands.register(:status) { Vagrant::Command::Status } Vagrant.commands.register(:status) { Vagrant::Command::Status }
Vagrant.commands.register(:suspend) { Vagrant::Command::Suspend } Vagrant.commands.register(:suspend) { Vagrant::Command::Suspend }
Vagrant.commands.register(:up) { Vagrant::Command::Up } Vagrant.commands.register(:up) { Vagrant::Command::Up }
# Register the built-in config keys # Register the built-in config keys
Vagrant.config_keys.register(:vagrant) { Vagrant::Config::VagrantConfig } Vagrant.config_keys.register(:vagrant) { Vagrant::Config::VagrantConfig }

View File

@ -2,21 +2,21 @@ module Vagrant
module Command module Command
autoload :Base, 'vagrant/command/base' autoload :Base, 'vagrant/command/base'
autoload :Box, 'vagrant/command/box' autoload :Box, 'vagrant/command/box'
autoload :BoxAdd, 'vagrant/command/box_add' autoload :BoxAdd, 'vagrant/command/box_add'
autoload :BoxRemove, 'vagrant/command/box_remove' autoload :BoxRemove, 'vagrant/command/box_remove'
autoload :BoxRepackage, 'vagrant/command/box_repackage' autoload :BoxRepackage, 'vagrant/command/box_repackage'
autoload :BoxList, 'vagrant/command/box_list' autoload :BoxList, 'vagrant/command/box_list'
autoload :Destroy, 'vagrant/command/destroy' autoload :Destroy, 'vagrant/command/destroy'
autoload :Halt, 'vagrant/command/halt' autoload :Halt, 'vagrant/command/halt'
autoload :Package, 'vagrant/command/package' autoload :Package, 'vagrant/command/package'
autoload :Provision, 'vagrant/command/provision' autoload :Provision, 'vagrant/command/provision'
autoload :Reload, 'vagrant/command/reload' autoload :Reload, 'vagrant/command/reload'
autoload :Resume, 'vagrant/command/resume' autoload :Resume, 'vagrant/command/resume'
autoload :SSH, 'vagrant/command/ssh' autoload :SSH, 'vagrant/command/ssh'
autoload :SSHConfig, 'vagrant/command/ssh_config' autoload :SSHConfig, 'vagrant/command/ssh_config'
autoload :Status, 'vagrant/command/status' autoload :Status, 'vagrant/command/status'
autoload :Suspend, 'vagrant/command/suspend' autoload :Suspend, 'vagrant/command/suspend'
autoload :Up, 'vagrant/command/up' autoload :Up, 'vagrant/command/up'
end end
end end