Sha256: 2adddc91d2b192d3f389cd316179f2668497870e1ea14eae962113c07cffe71f
Contents?: true
Size: 601 Bytes
Versions: 12
Compression:
Stored size: 601 Bytes
Contents
#!/usr/bin/env ruby begin require 'rubygems' rescue LoadError end require 'veewee' ENV["VEEWEE_LOG"] = "debug" if ARGV.include?('--debug') 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}" exit 1 end
Version data entries
12 entries across 12 versions & 1 rubygems