Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Create an init command #4

Open
7 tasks
benogle opened this issue Jul 28, 2015 · 1 comment
Open
7 tasks

Create an init command #4

benogle opened this issue Jul 28, 2015 · 1 comment

Comments

@benogle
Copy link
Contributor

benogle commented Jul 28, 2015

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 mnquintana self-assigned this Jul 28, 2015
@mnquintana
Copy link

👍 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants