An open API service indexing awesome lists of open source software.

https://github.com/asharirfan/local-wpcli

💻 A CLI to configure WP-CLI with the websites of Local by Flywheel
https://github.com/asharirfan/local-wpcli

cli flywheel hacktoberfest local-by-fly-wheel-addon wordpress wpcli

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

![cover](assets/local-wpcli-cover.jpg)


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.

```node
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.*

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

![Local by Flywheel Screenshot](assets/local-wpcli-screenshot.jpg)

## 🎩 License & Attribution

MIT © [Ashar Irfan](https://asharirfan.com).

This project is inspired by [Create Guten Block](https://github.com/ahmadawais/create-guten-block).