Sha256: c404e97a56e74de930ccd07105bdbec04bd929f1a8a78a5a8f32f730d0170399

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

#!/usr/bin/env ruby

require_relative "../lib/endoscope/cli"

if ARGV.count > 2
  abort "endoscope [redis_url] [namespace] (or use ENDOSCOPE_REDIS_URL and/or ENDOSCOPE_REDIS_NAMESPACE ENV variables)"
end

redis_url, namespace = *ARGV
redis_url ||= ENV['ENDOSCOPE_REDIS_URL']
namespace ||= ENV['ENDOSCOPE_REDIS_NAMESPACE']
Endoscope::CLI.new({url: redis_url, namespace: namespace}).start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
endoscope-0.0.1 bin/endoscope