Programmatically installing themes

For a customer we’re in need of programmatically managing the installation of themes and theme components. Would there be any interest in including this in Discourse?

You can see the current (WIP) code here:

It works a bit the same as importing SiteSettings.

$ bundle exec rake themes:install < config/themes.yml
  example1: is already installed
  example2: installed from
  doesntexist: Error cloning git repository, access is denied or repository is not found

 Installed: 1
 Updated:   0
 Skipped:   1
 Errors:    1