# frozen_string_literal: false

# GetColAct -- Get Collmex Activities
#
# Module GetColAct is the namespace that wraps everything together.
module GetColAct
  # External dependencies as specified in Gemfile
  require 'rubygems'
  require 'bundler/setup'
  Bundler.require

  # Internal Dependencies
  require 'optparse'

  require_relative 'getcolact/activities'
  require_relative 'getcolact/averages'
  require_relative 'getcolact/businessdays'
  require_relative 'getcolact/collmex'
  require_relative 'getcolact/config'
  require_relative 'getcolact/output'
  require_relative 'getcolact/projections'
  require_relative 'getcolact/version'

  # Sets the loglevel
  LOGGER = Logger.new(STDERR)
  LOGGER.progname = 'getcolact'
  LOGGER.level = Logger::INFO # DEBUG, INFO, WARN
end
