Sha256: 8bc93471b92ee3e497c54a9a6cb4b95cab1ba8e36dc9caebdf89bbf357160cb5
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'log_simulator' timescale = 1.0 OptionParser.new do |opts| opts.banner = "Usage: Debug Socket [options]" opts.on('-t time',Float,'timescale') do |time| timescale = time end opts.on_tail('-h', '--help', 'Show this message') { puts opts; exit } end.parse!(ARGV) filepath = ARGV.pop(ARGV.count)[0] if filepath LogSimulator::PlusLogSimulator.start(filepath,timescale) else puts 'Specify file path' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
log_simulator-0.0.4 | bin/simulate |