Export/import theme components in bulk?

You might be able to make the site:export_structure rake task work. It should include all of your site’s themes/components (along with quite a few other things).

discourse/lib/tasks/site.rake at main · discourse/discourse · GitHub

At some point it might be nice to support flagging exactly which structural aspects one wants. It’s relatively new, so I’m sure there with be room for improvements down the line.