Removed final binaries and moved vagrant-temp to vagrant
This commit is contained in:
parent
797112cf84
commit
368e468620
18
bin/vagrant
18
bin/vagrant
|
@ -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)
|
|
@ -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
|
|
@ -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
|
|
@ -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)
|
Loading…
Reference in New Issue