Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (16 sloc) 0.486 kB
#!/usr/bin/env ruby
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.