Sha256: 3bb790b72c813f8aeff43421891b58501c3d2754f9b65c784e9744cff42802a4

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

#!/usr/bin/env ruby

require 'ruby-debug'
require 'optparse'

require File.dirname(__FILE__) + '/../lib/football-manager'

options = {}

optparse = OptionParser.new do |opts|
  options[:player_data] = nil
  opts.on('-f', '--file FILE', 'Input player data') { |player_data| options[:player_data] = player_data }
end

optparse.parse!

FootballManager::Game.pick_teams(options[:player_data])

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
football-manager-0.1.2 bin/football-manager
football-manager-0.1.1 bin/football-manager
football-manager-0.1.0 bin/football-manager