Local Community

WP CLI and Shell Shortcut

This is really two things.

  1. It would be awesome to be able to type WP CLI commands into local and have Local run them in the install. Maybe in some sort of temproary session echoing the response . Something like a JS shell…

  2. It would also be nice if there were a shortcut BUTTON to SSH into a site (next to Admin / View Site ). It confusing to me that that function is in a context menu on the site name… logically it doesn’t belong there and it’s hard to find and use.

Something like this would be awesome:

flywheel-local-wp wordpress.dev user list

would map to running

wp user list

on the “wordpress.dev” instance in the site root on the server.

So basically this format:

flywheel-local-wp {site_domain} {wp-cli args all go here at the end}
1 Like

+1 on both of your ideas though, I’m happy either way :slight_smile:

BTW, if you right click on a site in the left side, you can click “Open Site SSH”

1 Like

Looks like there may be an add-on that addresses some of this:

1 Like

OMG OMG OMG you have no idea how happy this makes me.