Sha256: a43c039ac97d5923654d95cd64fbdbcc749914d799df82611786b216d76db531

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

#!/usr/bin/env ruby
require_relative '../lib/cassandra/utils'
require 'thor'

class CassandraUtils < Thor

  method_option :loop_sleep_time, type: :numeric,
    required: true, default: 120,
    desc: 'Frequency tasks are run'
  desc 'stats', 'Write metrics to Datadog'
  def stats
    s = ::Cassandra::Utils::Daemon.new(options)
    s.start!
  end
end

CassandraUtils.start

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cassandra-utils-0.2.1 bin/cass-util
cassandra-utils-0.0.1 bin/cass-util