Sha256: 94243d4067399b21567f8b98f1beb7a02d5f700b85d2da0f68dd8e540209461d

Contents?: true

Size: 914 Bytes

Versions: 1

Compression:

Stored size: 914 Bytes

Contents

# encoding: utf-8


require 'sportdb/models'

require 'logutils/activerecord'   ## NOTE: check - add to/include in/move to sportdb/models

## check if already included in datafile gem ??
require 'fetcher'   # for fetching/downloading fixtures via HTTP/HTTPS etc.
require 'datafile'   ## lets us use Datafile::Builder,Datafile etc.

require 'gli'

# our own code

require 'sportdb/cli/version'    # let version always go first

# additional for cli only
require 'sportdb/cli/opts'



module SportDb

  def self.main
    ## Runner.new.run(ARGV) - old code
    require 'sportdb/cli/main'
  end

end  # module SportDb


#####
# auto-load/require some addons

## puts 'before auto-load (require) sportdb addons'
## puts '  before sportdb/update'
require 'sportdb/update'
## puts '  before sportdb/service'
require 'sportdb/service'
## puts 'after auto-load (require) sportdb addons'


SportDb.main   if __FILE__ == $0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-1.10.1 lib/sportdb.rb