Sha256: 51ef04db9aa9ef572882eebc6e7a357c8685830939ba855d255276c8771c3ac4

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "melonsmasher/pokemon-go-status"

status = PokemonGoStatus::Status.new
info = status.get_server_status
puts "#{info[:description]}\nAverage response time: #{info[:avg_ms]} ms."
exit info[:exit_code]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pokemon-go-status-0.0.8 bin/pgo-status
pokemon-go-status-0.0.7 bin/pgo-status