Sha256: 7aa72e635a8edc252725a9e6aad5afb2886bee8221ca0492dc0adb9130b6be39

Contents?: true

Size: 351 Bytes

Versions: 11

Compression:

Stored size: 351 Bytes

Contents

#!/usr/bin/env ruby

require "shogun"
require "pry"
require Dir["./lib/*.rb"].first

case ARGV.shift
when "database" then
  case ARGV.shift
  when "reset" then
    Shogun::Database.setup!(logger: Logger.new(STDOUT))
  when "console" then
    Shogun::Database.new(logger: Logger.new(STDOUT))
    binding.pry
  end
when "console" then
  binding.pry
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shogun-6.0.0 bin/shogun
shogun-4.0.1 bin/shogun
shogun-4.0.0 bin/shogun
shogun-3.4.0 bin/shogun
shogun-3.2.0 bin/shogun
shogun-3.1.0 bin/shogun
shogun-3.0.0 bin/shogun
shogun-2.1.1 bin/shogun
shogun-2.1.0 bin/shogun
shogun-2.0.0 bin/shogun
shogun-1.0.0 bin/shogun