migrate: add command for comments
This commit is contained in:
parent
03f89c050f
commit
2c5f8335d6
|
@ -326,6 +326,9 @@ if __name__ == '__main__':
|
||||||
'createdAt': date_parse(OLD_DATE)
|
'createdAt': date_parse(OLD_DATE)
|
||||||
})
|
})
|
||||||
shouts(content_data, shouts_by_slug, shouts_by_oid) # NOTE: listens limit
|
shouts(content_data, shouts_by_slug, shouts_by_oid) # NOTE: listens limit
|
||||||
|
elif cmd == "comments":
|
||||||
|
for comment in comments_data:
|
||||||
|
migrateComment(comment)
|
||||||
elif cmd == "export_shouts":
|
elif cmd == "export_shouts":
|
||||||
export_shouts(shouts_by_slug, export_articles, export_authors, content_dict)
|
export_shouts(shouts_by_slug, export_articles, export_authors, content_dict)
|
||||||
elif cmd == "all":
|
elif cmd == "all":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user