Method: Kafo::KafoConfigure#run

Defined in:
lib/kafo/kafo_configure.rb

#run(*args) ⇒ Object



177
178
179
180
181
182
183
184
185
186
187
# File 'lib/kafo/kafo_configure.rb', line 177

def run(*args)
  started_at = Time.now
  logger.debug("Running installer with args #{args.inspect}")
  if config.app[:verbose]
    logger.notice("Running installer with log based terminal output at level #{config.app[:verbose_log_level].upcase}.")
    logger.notice("Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.")
  end
  super
ensure
  logger.debug("Installer finished in #{Time.now - started_at} seconds")
end