davidpeach / composer-manuscript

A tool to help streamline local PHP Composer package development
MIT License
4 stars 0 forks source link

Auto-launching playground in browser and editor #60

Open davidpeach opened 2 years ago

davidpeach commented 2 years ago

If going to work on a local package, which has a playground, have a command to start-up and launch that playground.

$ manuscript start

# autocomplete packages
# https://symfony.com/doc/current/components/console/helpers/questionhelper.html#let-the-user-choose-from-a-list-of-answers

Choose package: 
[0] my-awesome-package
[1] lolcats
[2] btw-i-use-arch

$ lolcats

> Launching lolcats in firefox...
> Opening project in phpstorm

References:

Needs to enable shell script. Run in Linux phpstorm </dev/null &>/dev/null &