Class: Fingerprint::Command::Scan

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/fingerprint/command/scan.rb

Instance Method Summary collapse

Instance Method Details

#callObject



48
49
50
51
52
53
54
55
56
57
58
# File 'lib/fingerprint/command/scan.rb', line 48

def call
  @paths = [Dir.pwd] unless @paths
  
  options = @options.dup
  
  # This configuration ensures that the output is printed to $stdout.
  options[:output] = @parent.output
  options[:recordset] = nil
  
  Scanner.scan_paths(@paths, **options)
end