Create an `init` command
benogle opened this issue · 1 comments
benogle commented
My dream is
electron init # Generates an es6 project
electron init --coffee # Generates a coffee project
electron init --template=/path/to/my-template # Maybe not necessary?
init
can generate the template, then run the bootstrap
command.
Maybe we use yeoman. If so, the init
command just calls out to or requires yeoman
- Convert https://github.com/benogle/electron-sample to es6
- Convert convert the es6 sample to a yeoman generator
- Convert convert the coffee sample to a yeoman generator
- Bundle the templates
- Specs
- Make it work
- Profit
I am not wedded to yeoman. If something else is better, I'm down to use it.
mnquintana commented
👍 This all looks good to me – I was thinking about leveraging yeoman for init
too (and as far as I'm aware that's still the best tool for this kind of job). I imagine down the road we may want to add TypeScript support, but I think it'd be fine to wait on that for now.