Sha256: 6bb80bf5719f9320a67fa6b025eb34abc0ff6b888718f04a94919a3507ca3f27
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
#!/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 puts "#{e}" end
Version data entries
8 entries across 8 versions & 1 rubygems