Sha256: 5ad03bb3243fb4850d21f8980d36bd3ef8c4639e879bda0c6198eb5c98b7ffcd

Contents?: true

Size: 535 Bytes

Versions: 7

Compression:

Stored size: 535 Bytes

Contents

#!/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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
veewee-0.3.6 bin/veewee
veewee-0.3.5 bin/veewee
veewee-0.3.4 bin/veewee
veewee-0.3.3 bin/veewee
veewee-0.3.2 bin/veewee
veewee-0.3.1 bin/veewee
veewee-0.3.0.beta2 bin/veewee