Class: Inferno::CLI::Migration

Inherits:
Object
  • Object
show all
Defined in:
lib/inferno/apps/cli/migration.rb

Instance Method Summary collapse

Instance Method Details

#run(log_level = Logger::DEBUG) ⇒ Object



6
7
8
9
10
11
# File 'lib/inferno/apps/cli/migration.rb', line 6

def run(log_level = Logger::DEBUG)
  Inferno::Application.start(:logging)
  Inferno::Application['logger'].level = log_level

  Utils::Migration.new.run
end