Sha256: bb6e864f0aafa7fb0fae8be01afabed23ff6ebfd086098396f0aae7e83b8e1ba

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 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::WARN

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

3 entries across 3 versions & 1 rubygems

Version Path
percheron-0.3.1 bin/percheron
percheron-0.3.0 bin/percheron
percheron-0.2.4 bin/percheron