⚡ local-wpcli
A CLI to configure WP-CLI with the locally hosted websites of Local by Flywheel.
🚀 Getting Started!
Use the following command to install local-wpcli globally.
npm install -g local-wpcli
✅ Usage
To use local-wpcli
,
- In your terminal, go to the root of the website folder.
cd ~/local-sites/local-wp/
- Type
local-wpcli
& press enter. - Before creating the configuration files, it will ask for:
- Remote Host (IP Address)
- Remote Port
👉 Note: You can find Remote Host & Port in the DATABASE
tab of the website in Local by Flywheel's desktop app. Please refer to the screenshot below for help.
🎩 License & Attribution
MIT © Ashar Irfan.
This project is inspired by Create Guten Block. Thank you Ahmad Awais for Create Guten Block. It rocks 🤘