WeareJH / wf2

PHP environments for Magento 1, Magento 2 & Wordpress
6 stars 3 forks source link

playground should be a unified command #97

Open mikeymike opened 4 years ago

mikeymike commented 4 years ago

I came to run the playground and was confused wf2 playground wasn't a thing... but instead it's wf2 m2-playground and wf2 wp-playground

Suggestion, maybe we could have wf2 playground <recipe> .. and/or it work out the box with --recipe ... e.g. wf2 --recipe=M2 playground

shakyShane commented 4 years ago

@mikeymike after implementing this, I realised it probably shouldn't be called a 'playground' - since it's good enough (with a few tweaks) to be a general project creation command (eg: if you have client keys, it can be the entire setup process`

for this reason, I think the following would work better

wf2 --recipe M2 create
wf2 --recipe Wp create

etc.

Ideally I'd like the following, but I can't think right now which would be easier to implement

wf2 create M2
wf2 create Wp