Sha256: 67193cca87e567295547e80b033dd7393087437c0d3cc441c4e0b8b0c34041f2

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

#!/usr/bin/env ruby
require 'playback/request'

@base_uri = ARGV[0]
@log_file = ARGV[1]
p = Playback::Request.new(@base_uri)

begin
  File.open @log_file do |file|
    file.each_line do |line|
      puts p.run(line)
    end
  end
rescue Interrupt
  puts "\nexiting..."
rescue Exception => e
  puts e
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playback-1.1.1 bin/playback
playback-1.1.0 bin/playback
playback-1.0.0 bin/playback