Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (20 sloc) 0.535 kb
#!/usr/bin/env ruby
begin
require 'rubygems'
rescue LoadError
end
require 'veewee'
env = Veewee::Environment.new
begin
# Begin logging
env.ui.info("veewee") { "`veewee` invoked: #{ARGV.inspect}" }
# Disable color if the proper argument was passed
shell = ARGV.include?("--no-color") ? Thor::Shell::Basic.new : Thor::Base.shell.new
# Attach the UI
env.ui = ::Veewee::UI::Shell.new(env, shell)
env.load!
# Start the CLI
::Veewee::CLI.start(ARGV,:env => env)
rescue Veewee::Error => e
env.ui.error "#{e}"
end
Jump to Line
Something went wrong with that request. Please try again.