module Anemone::CLI
Constants
- COMMANDS
Public Class Methods
run()
click to toggle source
# File lib/anemone/cli.rb, line 5 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