Sha256: 6dd8e6380a785d1bdd84b6c9aaa652f5f71df3163fef11f9f700dbdf2c9109a5

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'shiba'
require 'shiba/configure'
require 'shiba/fuzzer'

options = {}
parser = Shiba::Configure.make_options_parser(options, only_basics: true)
parser.banner = "Dump database statistics into yaml file."
parser.parse!

Shiba.configure(options) do |errmsg|
  $stderr.puts(errmsg)
  $stderr.puts(parser.help)
  exit 1
end

index = Shiba::Fuzzer.new(Shiba.connection).fetch_index
puts index.to_yaml

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shiba-0.3.0 bin/mysql_dump_stats