Skip to content

asharirfan/local-wpcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

102 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

About

๐Ÿ’ป A CLI to configure WP-CLI with the websites of Local by Flywheel

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors