#!/usr/bin/env ruby # Quiet some warnings we see when running in warning mode: # RUBYOPT=-w bundle exec sidekiq-pool $TESTING = false require_relative '../lib/sidekiq/pool/cli' begin cli = Sidekiq::Pool::CLI.instance cli.parse cli.run rescue => e raise e if $DEBUG STDERR.puts e.message STDERR.puts e.backtrace.join("\n") exit 1 end