Sha256: 5bf2452f708e2d93bf155304d5e1266da049e3dd9e02aff0fee8056c26a88c9a
Contents?: true
Size: 465 Bytes
Versions: 24
Compression:
Stored size: 465 Bytes
Contents
module Anemone module CLI COMMANDS = %w[count cron pagedepth serialize url-list] def self.run command = ARGV.shift if COMMANDS.include? command load "anemone/cli/#{command.tr('-', '_')}.rb" else puts <<-INFO Anemone is a web spider framework that can collect useful information about pages it visits. Usage: anemone <command> [arguments] Commands: #{COMMANDS.join(', ')} INFO end end end end
Version data entries
24 entries across 24 versions & 5 rubygems
Version | Path |
---|---|
shingara-anemone-0.2.4 | lib/anemone/cli.rb |
anemone-0.2.3 | lib/anemone/cli.rb |
anemone-0.2.2 | lib/anemone/cli.rb |
anemone-0.2.1 | lib/anemone/cli.rb |