Sha256: 3cacacda865ef0a7a528073976fd29c3f68d25c63369f10bdf6d1358da5fbca9
Contents?: true
Size: 424 Bytes
Versions: 3
Compression:
Stored size: 424 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'cheripic' # rescue errors to get clean error messages through the logger # backtrace can be accessed by setting --loglevel to 'debug' option begin submission = Cheripic::Cmd.new ARGV submission.run rescue Cheripic::CheripicError => e logger.error e.message logger.debug e.backtrace unless e.backtrace.nil? exit 1 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cheripic-1.2.7 | bin/cheripic |
cheripic-1.2.6 | bin/cheripic |
cheripic-1.2.5 | bin/cheripic |