File: check

package info (click to toggle)
ruby-github-pages-health-check 1.19.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: ruby: 1,135; sh: 53; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 296 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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])