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
- Host: GitHub
- URL: https://github.com/asharirfan/local-wpcli
- Owner: asharirfan
- License: mit
- Created: 2018-07-01T19:35:53.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T04:23:43.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T23:22:28.504Z (about 1 year ago)
- Topics: cli, flywheel, hacktoberfest, local-by-fly-wheel-addon, wordpress, wpcli
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/local-wpcli
- Size: 517 KB
- Stars: 16
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README

> 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.

## 🎩 License & Attribution
MIT © [Ashar Irfan](https://asharirfan.com).
This project is inspired by [Create Guten Block](https://github.com/ahmadawais/create-guten-block).