#!/usr/bin/env ruby
# frozen_string_literal: true
#
# Usage: script/check [DOMAIN]

require "rubygems"
require "bundler/setup"
require_relative "../lib/github-pages-health-check"

if ARGV.count != 1
  puts "Usage: script/check [DOMAIN]"
  exit 1
end

puts GitHubPages::HealthCheck.check(ARGV[0])
