Sha256: 6f87118bcedbb08fe5772423774072d1e2585511221b13b2c08bf79c93380f4e
Contents?: true
Size: 695 Bytes
Versions: 3
Compression:
Stored size: 695 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require File.expand_path(File.dirname(__FILE__) + "/../lib/seo_checker") options = {} OptionParser.new do |opts| opts.banner = "Usage: seo_checker [OPTIONS] website_url" opts.on('-b', '--batch BATCH_SIZE', 'get a batch size of pages') do |batch| options[:batch_size] = batch end opts.on('-i', '--interval INTERVAL_TIME', 'interval time between two batches') do |interval| options[:interval_time] = interval end opts.on('--debug') do options[:logger] = true end opts.on_tail('-h', '--help', 'Show this message') do puts opts exit end opts.parse! end checker = SEOChecker.new(ARGV[0], options) checker.check
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
seo_checker-0.2.3 | bin/seo_checker |
seo_checker-0.2.2 | bin/seo_checker |
seo_checker-0.2.1 | bin/seo_checker |