Class: Taggata::Cli::ScanCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/taggata/cli/scan.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



7
8
9
10
11
# File 'lib/taggata/cli/scan.rb', line 7

def execute
  scanner = Taggata::Scanner.new @db
  root = Taggata::Persistent::Directory.find_or_create @db, :name => root_path
  scanner.process(root)
end