Class: WPScan::Controller::MainTheme
- Defined in:
- app/controllers/main_theme.rb
Overview
Main Theme Controller
Constant Summary
Constants included from OptParseValidator
Instance Method Summary collapse
Methods inherited from Base
#==, #after_scan, #before_scan, #datastore, #formatter, #option_parser, option_parser=, #output, #render, reset, #target, #tmp_directory, #user_interaction?
Instance Method Details
#cli_options ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'app/controllers/main_theme.rb', line 7 def [ OptChoice.new( ['--main-theme-detection MODE', 'Use the supplied mode for the Main theme detection, instead of the global (--detection-mode) mode.'], choices: %w[mixed passive aggressive], normalize: :to_sym, advanced: true ) ] end |