module HighRoller::CLI
  autoload :REPL,   'high_roller/cli/repl'
  autoload :Single, 'high_roller/cli/single'

  def self.humanize_number num
    raise "Not a number: #{num}" if num.to_s =~ /[^\d]/
    num.to_s.reverse.scan(/\d{1,3}/).join(',').reverse
  end
end

require 'trollop'

module HighRoller::CLI
  autoload :REPL,   'high_roller/cli/repl'
  autoload :Single, 'high_roller/cli/single'

  def self.run!

  end

  def self.humanize_number num
    raise "Not a number: #{num}" if num.to_s =~ /[^\d]/
    num.to_s.reverse.scan(/\d{1,3}/).join(',').reverse
  end
end

Move bin logic to CLI
Move bin logic to CLI
