Sha256: c19b2a08f0e0faff8e2c6cf12e0d6fe190fb18ce4697ed72780519ebbe67e58d

Contents?: true

Size: 879 Bytes

Versions: 2

Compression:

Stored size: 879 Bytes

Contents

# encoding: utf-8

require 'sportdb/readers'

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
require 'sportdb/cli/opts'
require 'sportdb/cli/main'



module SportDb

  def self.main( args=ARGV )
    Tool.new.run( args )
  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

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-2.2.1 lib/sportdb.rb
sportdb-2.2.0 lib/sportdb.rb