cartodb-4.42/lib/tasks/maps.rake

13 lines
303 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
require 'carto/export/map_statistics'
namespace :cartodb do
namespace :maps do
desc 'Get CSV with all maps info'
task map_info_csv: :environment do
ms = Carto::Export::MapStatistics.new
ms.run!
puts "Here's your file: #{ms.filepath}\nThanks for coming :)"
end
end
end