trailsjs / trailmix

:candy: UI for generating a custom build using trailpacks
https://trailsjs.io/plugins
MIT License
12 stars 1 forks source link

TrailsMix generated command #8

Open jaumard opened 8 years ago

jaumard commented 8 years ago

Do you have some idea of what the final command look like ?

I can work on generator-trails to have something like yo trails --trailpacks=trailpacks-hapi,trailpack-gulp,trailpack-webpack

nogtini commented 8 years ago

That would be great! I imagine that's the direction we'll be taking until get a CLI under our belts:

$ trails --new --trailpacks=hapi,gulp,webpack

jaumard commented 8 years ago

Ok ! I will work on this then :) In fact I prefer the yeoman generator cause a lot of people already know how to use it and it also integrated with some IDE like IntelliJ :

capture d ecran 2016-01-11 a 10 00 41

Also with need to put trailpack-NAME cause maybe some custom trailpack can use other name than trailpack-SOMETHING.

jaumard commented 8 years ago

now you can use yo trails --trailpacks=trailpack-repl,trailpack-react....

weyj4 commented 8 years ago

Oh thanks, that's good to know!

jaumard commented 8 years ago

I think TrailsMix can be use for two things :

1) Generate the command for a new project : yo trails --trailpacks=trailpack-repl,trailpack-react.. 2) Generate the command for adding new Trailpacks to an existing project : yo trails:trailpack trailpack-repl,trailpack-react...

Both command are already available on the generator.