Vantage

An example cli and lib for vantage.io

Installation

Add this line to your application's Gemfile:

gem 'vantage'

And then execute:

$ bundle

Or install it yourself as:

$ gem install vantage

Usage

Command line:

Listing allowed vantage points:

$ vantage -l

Check a url against a random vantage point:

$ vantage -u http://brandontindle.com

Check a url against a specific vantage point:

$ vantage -u http://brandontindle.com -p aws-us-east-1

Check multiple urls:

$ vantage -u http://brandontindle.com,http://michaelgorsuch.com

As a Lib

require 'vantage'

client = Vantage.new
client.check [{"url" => "http://brandontindle.com"}]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request