Method: WhatWeb::CLI#scan

Defined in:
lib/whatweb/cli.rb

#scan(url) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/whatweb/cli.rb', line 10

def scan(url)
  is_aggressive = options[:aggressive]
  with_error_handling do
    hash = execute_plugins(url, is_aggressive)
    puts hash.to_json
  end
end