diff --git a/bin/vagrant-destroy b/bin/vagrant-destroy deleted file mode 100755 index 480bada7f..000000000 --- a/bin/vagrant-destroy +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "destroys the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Destroys the vagrant environment. - -EOS - - run do |command| - Vagrant::Commands.execute(:destroy) - end -end diff --git a/bin/vagrant-halt b/bin/vagrant-halt deleted file mode 100755 index 36cf5d85a..000000000 --- a/bin/vagrant-halt +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "forcibly halts the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Forcibly halts the vagrant environment. This is the equivalent -of pulling the power on your computer. - -EOS - - run do |command| - Vagrant::Commands.execute(:halt) - end -end diff --git a/bin/vagrant-init b/bin/vagrant-init deleted file mode 100755 index 22e11348f..000000000 --- a/bin/vagrant-init +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "initializes directory for vagrant use" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Creates the initial files required for using vagrant. - -EOS - - run do |command| - Vagrant::Commands.init(command.argv[0]) - end -end diff --git a/bin/vagrant-package b/bin/vagrant-package deleted file mode 100755 index 89710f3fc..000000000 --- a/bin/vagrant-package +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "package the current vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Package the current vagrant environment into a box. - -EOS - - opt :base, "name of the VM to create a base package", :type => :string - opt :include, "files to include in the package", :type => :strings - - run do |command| - Vagrant::Commands.execute(:package, command.argv[0], command.opts) - end -end diff --git a/bin/vagrant-reload b/bin/vagrant-reload deleted file mode 100755 index b7750bcb8..000000000 --- a/bin/vagrant-reload +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "reload the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Reloads the vagrant environment. This forces a shutdown of the VM, -updates the metadata (forwarded ports, shared folders, etc.), restarts -the VM, and reruns the chef recipes. - -EOS - - run do |command| - Vagrant::Commands.execute(:reload) - end -end diff --git a/bin/vagrant-resume b/bin/vagrant-resume deleted file mode 100755 index 0244bd5c4..000000000 --- a/bin/vagrant-resume +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "resumes the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Resumes the vagrant environment. - -EOS - - run do |command| - Vagrant::Commands.execute(:resume) - end -end diff --git a/bin/vagrant-ssh b/bin/vagrant-ssh deleted file mode 100755 index e1f580e7e..000000000 --- a/bin/vagrant-ssh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "opens an SSH connection into the VM" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Opens an SSH connection into the created VM. - -EOS - - run do |command| - Vagrant::Commands.execute(:ssh) - end -end diff --git a/bin/vagrant-ssh-config b/bin/vagrant-ssh-config deleted file mode 100755 index d12445ce6..000000000 --- a/bin/vagrant-ssh-config +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "outputs .ssh/config valid syntax for connecting to this environment via ssh" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Outputs a .ssh/config valid entry for connecting (via SCP, git, etc.) -to the current environment. - -EOS - - opt :host, "the host key for the entry", :type => :string - - run do |command| - Vagrant::Commands.execute(:ssh_config, command.opts) - end -end diff --git a/bin/vagrant-suspend b/bin/vagrant-suspend deleted file mode 100755 index ed5eddd15..000000000 --- a/bin/vagrant-suspend +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "suspends the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Suspends the vagrant environment. - -EOS - - run do |command| - Vagrant::Commands.execute(:suspend) - end -end diff --git a/bin/vagrant-up b/bin/vagrant-up deleted file mode 100755 index ef7b81874..000000000 --- a/bin/vagrant-up +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -begin - require File.expand_path('../../.bundle/environment', __FILE__) -rescue LoadError - # Fallback on rubygems - require "rubygems" -end - -require 'git-style-binary/command' - -# Get library -libdir = File.join(File.dirname(__FILE__), '..', 'lib') -require File.expand_path('vagrant', libdir) - -GitStyleBinary.command do - short_desc "create the vagrant environment" - banner <<-EOS -Usage: #{command.full_name} #{all_options_string} - -Create the vagrant environment if it doesn't exist, -otherwise start the vagrant environment if its not -already running. - -EOS - - run do |command| - Vagrant::Commands.execute(:up) - end -end