mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
FIX: Split by space to support multiple categories export
This commit is contained in:
parent
a585c19f2e
commit
586e45edb9
@ -1,6 +1,7 @@
|
||||
desc 'Export all the categories'
|
||||
task 'export:categories', [:category_ids] => [:environment] do |_, args|
|
||||
require "import_export/import_export"
|
||||
ids = args[:category_ids].split(" ")
|
||||
|
||||
ImportExport.export_categories(args[:category_ids])
|
||||
puts "", "Done", ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user