Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (21 sloc) 0.458 kB
#!/usr/bin/env ruby
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'pp'
require 'domain-profiler'
require 'erb'
def help
puts <<-help
Usage:
$ ./profile domain.com
help
end
if ($stdin.tty? && ARGV.empty?) || ARGV.delete('-h') || ARGV.delete('--help')
help
else
profile = nil
ARGV.each do |domain|
profile = DomainProfiler.new(domain)
puts ERB.new(File.read("view/text")).result
end
end
Jump to Line
Something went wrong with that request. Please try again.