Automattic / jurassic.ninja

A frontend to launching ephemeral WordPress instances that auto-destroy after some time
https://jurassic.ninja/
Other
70 stars 12 forks source link

Easily install common themes #167

Open simison opened 5 years ago

simison commented 5 years ago

Especially when mass testing themes (https://github.com/simison/back-to-the-theme/), it would be neat to be able to install a whole lot of popular themes in one click. Boom!

Here's a nice list:

wp theme install \
    astra \
    colormag \
    customizr \
    generatepress \
    hestia \
    hueman \
    oceanwp \
    shapely \
    storefront \
    sydney \
    twentyeleven \
    twentyfifteen \
    twentyfourteen \
    twentynineteen \
    twentyseventeen \
    twentysixteen \
    twentyten \
    twentythirteen \
    twentytwelve \
    vantage

https://developer.wordpress.org/cli/commands/theme/install/

nielslange commented 2 years ago

I briefly looked into this and I think a quick fix would be to enhance the following section: https://github.com/Automattic/jurassic.ninja/blob/c40015b0d9f238dbe6a806fe79c5e5fee8e7a8f7/features/themes.php#L19-L21

While this does not install all themes with one click, it allows that desired themes can be selected.