Sha256: 5903c960a8c05f1a18685eea2831eee605614078d82e4d07dd1d386640f43bd4
Contents?: true
Size: 828 Bytes
Versions: 8
Compression:
Stored size: 828 Bytes
Contents
#!/usr/bin/env ruby require 'slop' opts = Slop.parse! :help => true do banner "Usage: earthquake [options] [directory]" on :d, :debug, 'Enable debug mode' end options = opts.to_hash(true) options.delete(:help) options[:dir] = ARGV.shift unless ARGV.empty? $:.unshift(File.expand_path('../../lib', __FILE__)) if $0 == __FILE__ print "\e[31m" puts %q{ _ _ _ ___ __ _ _ __| |_| |__ __ _ _ _ __ _| | _____ / _ \/ _` | '__| __| '_ \ / _` | | | |/ _` | |/ / _ \ | __/ (_| | | | |_| | | | (_| | |_| | (_| | < __/ \___|\__,_|_| \__|_| |_|\__, |\__,_|\__,_|_|\_\___| |_| }. gsub(/^\n/, '') + "v#{File.read(File.expand_path('../../VERSION', __FILE__))}".rjust(10) + "\n\n" print "\e[0m" require 'earthquake' Earthquake.start(options)
Version data entries
8 entries across 8 versions & 1 rubygems