add `elm new` for improved onboarding experience
iGEL opened this issue · comments
Johannes Barre commented
I think, it would be helpful for newcomers to have a command similar to rails new
or lein new
to generate a skeleton app. For example, it could:
- create a
src/Main.elm
with a barebeginnerProgram
(or a very simple program, like a counter). This should have comments to explain the parts - Install
elm-lang/html
and dependencies (generate aelm-package.json
) - Possibly generate a README to help people of the ground
- Print a message explaining what it did and how to go from here (e.g. "run elm reactor and go to http://localhost:8000/src/Main.elm")
What do you think?
Process Bot commented
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
Simone Vittori commented
Evan Czaplicki commented
There'll be something like this in the next version of Elm!