Open
Description
As mentioned in this comment on Discourse it would be really nice if Spago could have templates.
Examples from the post for how this could look like:
spago init --template halogen
spago init --template react-basic-hooks
spago init --template cli
... etc.
Opening this issue to track this, I don't have an opinion on how this should be implemented, but looking at previous art (e.g. Stack templates), I feel we could:
- have each template as a git submodule in the
templates
folder - ..and include all templates in the binary (this is so that you can still make a project if you're offline)
- ..and optionally try to fetch them if we are online and they have been updated