#!/usr/bin/env ruby require 'link_checker' # Assume the 'public' directory is the site unless otherwise specified. site_path = ARGV[0] || './' LinkChecker.new(site_path).check_links