mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
8 lines
271 B
Ruby
8 lines
271 B
Ruby
desc 'Export all the categories'
|
|
task 'export:categories', [:include_group_users, :file_name] => [:environment] do |_, args|
|
|
require "import_export/import_export"
|
|
|
|
ImportExport.export_categories(args[:include_group_users], args[:file_name])
|
|
puts "", "Done", ""
|
|
end
|