require 'rummager'

desc "Apply metadata from the json file"
task :tag_json_metadata do
  file_path = File.join(settings.root, '../../config/metadata.json')
  Indexer::MetadataTagger.amend_indexes_for_file(file_path)
end

require 'rummager'

desc "Apply metadata from the json file"
task :tag_metadata do
  file_path = File.join(settings.root, '../../config/metadata.csv')
  Indexer::MetadataTagger.amend_indexes_for_file(file_path)
end

Update the rake task to use csv suffix
Update the rake task to use csv suffix
