Removed final binaries and moved vagrant-temp to vagrant

This commit is contained in:
Mitchell Hashimoto 2010-04-13 17:19:37 -07:00
parent 797112cf84
commit 368e468620
4 changed files with 6 additions and 84 deletions

View File

@ -1,15 +1,9 @@
#!/usr/bin/env ruby
begin
require File.expand_path('../../.bundle/environment', __FILE__)
rescue LoadError
# Fallback on rubygems
require "rubygems"
end
require 'rubygems'
require 'git-style-binary/command'
# Get library
libdir = File.join(File.dirname(__FILE__), '..', 'lib')
require File.expand_path('vagrant', libdir)
GitStyleBinary.primary do
version "0.2.0"
run { educate }
end
# Call the command
Vagrant::Command.execute(*ARGV)

View File

@ -1,34 +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 "manage boxes"
banner <<-EOS
Usage:
#{command.full_name} add name uri
#{command.full_name} remove name
Add and remove vagrant boxes.
EOS
run do |command|
begin
Vagrant::Commands.execute(:box, command.argv)
rescue ArgumentError
educate
end
end
end

View File

@ -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 "Outputs the status of the current environment"
banner <<-EOS
Usage: #{command.full_name} #{all_options_string}
This command outputs the status of the current environment. This command
tells you whether the environment is created, running, suspended,
etc.
EOS
run do |command|
Vagrant::Commands.execute(:status)
end
end

View File

@ -1,9 +0,0 @@
#!/usr/bin/env ruby
require 'rubygems'
# Get library
libdir = File.join(File.dirname(__FILE__), '..', 'lib')
require File.expand_path('vagrant', libdir)
# Call the command
Vagrant::Command.execute(*ARGV)