Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
175 stars 17 forks source link

Feature Request: add WP CLI support #47

Open jeherve opened 5 months ago

jeherve commented 5 months ago

What

It would be nice if when opening the Terminal view, I had access to WP CLI out of the box, without the need for me to install anything else.

Why

It would allow developers to quicky make changes to their local site from a different interface (CLI).

How

No response

bph commented 5 months ago

Totally agree. If I wanted to make the migration from LocalWP to Studio, missing out on the availability of wp-cli would make me hesitant as it is a feature in LocalWP Screenshot 2024-05-04 at 11 17 30

faisalahammad commented 4 months ago

WP CLI is working fine for me but has some deprecated errors. Have you had a chance to try out Open In... → Terminal?

Studio Version: 1.0.2 OS: macOS 14.4.1

Screenshot:

Terminal@2x

Screen recording:

Terminal GIF

jeherve commented 4 months ago

@faisalahammad This is most likely because WP Cli is already globally installed on your system. The /usr/local/bin path in your screenshot tends to confirm that.

faisalahammad commented 4 months ago

You're right, @jeherve. I forgot that I installed it before.

foldesistudio commented 2 months ago

I would like to also inbuilt PHP and WP CLI support (via terminal) - Thumps Up +1