wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

Add the "-p" option to "wordup local:start" #39

Open stefanobartoletti opened 4 years ago

stefanobartoletti commented 4 years ago

I think it would be a nice to have the -p option even to wordup local:start, in a similar way to how it currently works on wordup local:stop.

Navigating to the project folder before starting the development environment could not be always the best option, while being able to start it from any location just by passing the project slug would be a very useful improvement.

An example would be to run wordup list to check the available projects, see their current status (installed/running), and directly type a command afterwards to start/stop one of them without the need to change the current working directory.

(an even better solution would be to have a syntax that doesn't need the -p, and just have to type wordup start <projectname> and wordup stop <projectname>)

shry commented 4 years ago

Good idea. I will try to implement it as soon as possible.