Sha256: 3bfcc38af1b80fe0425c404a3d475af410466cf5b61071e402af324da0a57384
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 require 'aquanaut' if ARGV.empty? raise ArgumentError, "Specify a target domain in the first argument" end target_domain = ARGV[0] if target_domain =~ URI::regexp graph = Aquanaut.process_domain(target_domain) Aquanaut::Sitemap.new(graph, target_domain).render_results else raise ArgumentError, "#{target_domain} is not a valid URI" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aquanaut-0.1.2 | bin/aquanaut |
aquanaut-0.1.1 | bin/aquanaut |