Sha256: d3a1a9ea3bcd76599d0f77adb9aff87c406ddd68fc8d6f8afe7f42aee9c5daad

Contents?: true

Size: 536 Bytes

Versions: 2

Compression:

Stored size: 536 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

2 entries across 2 versions & 2 rubygems

Version Path
veewee-atlassian-0.3.11 bin/veewee
veewee-0.3.7 bin/veewee