Sha256: 751987a52d897fa41beab8a8ed7fc34012d97a4c62592595cf8e57e5dd23f3a0
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 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' $metastore = Metastore::Cabinet.new(File.join(ENV['HOME'], '.percheron', 'metastore.yaml')) $logger = Logger.new(STDOUT) logger_level = Logger::WARN if ENV['VERBOSE'] == 'true' logger_level = Logger::INFO end if ENV['DEBUG'] == 'true' || ENV['DOCKER_DEBUG'] == 'true' require 'pry-byebug' require 'awesome_print' logger_level = Logger::DEBUG Docker.logger = $logger if ENV['DOCKER_DEBUG'] == 'true' end $logger.level = logger_level Percheron::CLI::MainCommand.run
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
percheron-0.5.0 | bin/percheron |