Sha256: b3d430b1bc75132b722ef89ebba3262d9d404b64d817cee4594cf2046882a7b2

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

#!/usr/bin/env ruby

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'logger'
require 'percheron'
require 'percheron/cli'

$logger = Logger.new(STDOUT)

logger_level = Logger::ERROR

if ENV['VERBOSE'] == 'true'
  logger_level = Logger::INFO
end

if ENV['DEBUG'] == 'true'
  require 'pry-byebug'
  require 'awesome_print'
  logger_level = Logger::DEBUG
end

$logger.level = logger_level

Percheron::CLI::MainCommand.run

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
percheron-0.2.3 bin/percheron
percheron-0.2.2 bin/percheron
percheron-0.2.1 bin/percheron
percheron-0.2.0 bin/percheron