Sha256: f5129da0199b650be76403e1faae8a2bc21c3b7500a2c1009e884bc01f56a621

Contents?: true

Size: 511 Bytes

Versions: 41

Compression:

Stored size: 511 Bytes

Contents

#!/usr/bin/env ruby
require 'perus'
require 'optparse'

options_path = Perus::Pinger::DEFAULT_PINGER_OPTIONS_PATH

OptionParser.new do |opts|
    opts.banner = "Usage: perus-pinger [options]"

    opts.on('-c', '--config PATH', "Path to config file (default: #{Perus::Pinger::DEFAULT_PINGER_OPTIONS_PATH})") do |c|
        options_path = c
    end

    opts.on('-h', '--help', 'Prints this help') do
        puts opts
        exit
    end
end.parse!

pinger = Perus::Pinger::Pinger.new(options_path)
pinger.run

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
perus-1.0.7 exe/perus-pinger
perus-1.0.6 exe/perus-pinger
perus-1.0.5 exe/perus-pinger
perus-1.0.4 exe/perus-pinger
perus-1.0.3 exe/perus-pinger
perus-1.0.2 exe/perus-pinger
perus-1.0.1 exe/perus-pinger
perus-1.0.0 exe/perus-pinger
perus-0.1.35 exe/perus-pinger
perus-0.1.34 exe/perus-pinger
perus-0.1.33 exe/perus-pinger
perus-0.1.32 exe/perus-pinger
perus-0.1.31 exe/perus-pinger
perus-0.1.30 exe/perus-pinger
perus-0.1.29 exe/perus-pinger
perus-0.1.28 exe/perus-pinger
perus-0.1.27 exe/perus-pinger
perus-0.1.26 exe/perus-pinger
perus-0.1.25 exe/perus-pinger
perus-0.1.24 exe/perus-pinger