Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.2k stars 375 forks source link

Being able to duplicate a theme by id #880

Open paulhuisman opened 3 years ago

paulhuisman commented 3 years ago

First off, great work on the tooling. Without your kit developing for a multisite Shopify platform would be a pain.

We are already pretty efficient in deployment using theme kit.

However, one thing would speed things up even more and that is being able to duplicate a theme (based on id).

The command could look something like this: theme duplicate --env=stage --id=1239293293

How do you guys feel about releasing this feature in the future?

Keep up the good work!

tanema commented 3 years ago

Hey @paulhuisman, thanks for the suggestion, I will think about the best way to do this. Currently, you can run theme new while you are in a directory with the files of another theme, and it will not overwrite existing files (you may get some extra files but those can be removed) That should help for now, but I will think about adding an option to theme new to make a copy

paulhuisman commented 3 years ago

Thanks for getting back to me so fast. Would be great if you could have a look! In the mean time i will look into theme new.

Curzey commented 1 year ago

Is there any status on this? It would be a great feature to secure backups automatically, before deploying changes.