lib/miteru/commands/main.rb in miteru-2.0.0 vs lib/miteru/commands/main.rb in miteru-2.0.1

- old
+ new

@@ -13,10 +13,10 @@ method_option :directory_traveling, type: :boolean, default: false, desc: "Enable or disable directory traveling" method_option :download_to, type: :string, default: "/tmp", desc: "Directory to download phishing kits" method_option :threads, type: :numeric, desc: "Number of threads to use", default: Parallel.processor_count method_option :verbose, type: :boolean, default: true - desc "execute", "Excecute the crawler" + desc "execute", "Execute the crawler" around :with_db_connection def execute Miteru.config.tap do |config| config.auto_download = options["auto_download"] config.directory_traveling = options["directory_traveling"]