local-wpcli

2.2.0 • Public • Published

cover

A CLI to configure WP-CLI with the locally hosted websites of Local by Flywheel

version license downloads

The CLI now works with Local Lightning! 🎉

🚀 Getting Started!

Use the following command to install local-wpcli globally.

npm install -g local-wpcli

Usage

To use local-wpcli,

  1. Open terminal and go to the root of the website folder.
    cd ~/local-sites/wordpress/
  2. Type local-wpcli & press Enter (⏎).
  3. Enter path to Socket file of the website & press Enter (⏎).

👉 Note: You can find Socket in the DATABASE tab of the website in Local by Flywheel's desktop app. Please refer to the following screenshot below for help.

  1. At this point, you can run wp as you normally would.

Local by Flywheel Screenshot

🎩 License & Attribution

MIT © Ashar Irfan.

This project is inspired by Create Guten Block.

Package Sidebar

Install

npm i local-wpcli

Weekly Downloads

1

Version

2.2.0

License

MIT

Unpacked Size

582 kB

Total Files

18

Last publish

Collaborators

  • asharirfan