u/Expert-Wheel-9603

License activation on command line

Hi! I use ddev for local development and deployment. Built a script which edits and sets up wordpress "my way" (for default settings I use on most pages, to not do it manually every time) - installing bricks builder theme and disabling other themes is part of the script.

I wonder if it's possible to use wp-cli like wp bricks command to enter the license key as well?

Also, I have some general settings I usually change/setup on bricks. Is there a way to automate that as well, maybe like a backup file that I could just restore (I know which is possible via the graphical interface from a json file), command line ideally (copying files and querying the database directly is fine too; but maybe there's a built in method).

Would love to know how you guys who use a similar setup work this out - without copying and pasting stuff every single time when you start a new bricks based project.

Cheers!

reddit.com
u/Expert-Wheel-9603 — 4 days ago