Class: Aquatone::Commands::Gather

Inherits:
Aquatone::Command show all
Defined in:
lib/aquatone/commands/gather.rb

Instance Attribute Summary

Attributes inherited from Aquatone::Command

#options

Instance Method Summary collapse

Methods inherited from Aquatone::Command

#initialize, run

Constructor Details

This class inherits a constructor from Aquatone::Command

Instance Method Details

#execute!Object



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/aquatone/commands/gather.rb', line 4

def execute!
  if !options[:domain]
    output("Please specify a domain to assess\n")
    exit 1
  end

  @assessment = Aquatone::Assessment.new(options[:domain])

  banner("Gather")
  check_prerequisites
  prepare_tasks
  make_directories
  process_pages
  generate_report
end