Class: IndexShotgun::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/index_shotgun/cli.rb

Instance Method Summary collapse

Instance Method Details

#mysqlObject


16
17
18
# File 'lib/index_shotgun/cli.rb', line 16

def mysql
  analyze("mysql2")
end

#postgresqlObject


29
30
31
# File 'lib/index_shotgun/cli.rb', line 29

def postgresql
  analyze("postgresql", "pg")
end

#sqlite3Object


35
36
37
# File 'lib/index_shotgun/cli.rb', line 35

def sqlite3
  analyze("sqlite3")
end

#versionObject


40
41
42
# File 'lib/index_shotgun/cli.rb', line 40

def version
  puts IndexShotgun::VERSION
end