Class: WhatWeb::CLI
Instance Method Summary collapse
Instance Method Details
#list_plugins ⇒ Object
19 20 21 22 23 |
# File 'lib/whatweb/cli.rb', line 19 def list_plugins with_error_handling do puts plugin_names.to_json end end |
#scan(url) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/whatweb/cli.rb', line 10 def scan(url) is_aggressive = [:aggressive] with_error_handling do hash = execute_plugins(url, is_aggressive) puts hash.to_json end end |