Implement templating system
@bsutton is already working on this.
Since Dec 1, 2019.
- Dominant language
- Dart
- Stars
- 265
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
I'm interested in creating a template system. When you create a project you can start with an existing library of your own or we will generate one for you. It might be useful to have a small library of starter templates that demonstrate common techniques when using dshell.
dshell create from <template>
Templates would live in ~/.dshell/templates
Then give the user the ability to list, add and delete templates of their own.
We should have two subdirectories under templates:
- builtin
- user
This will allow us to upgrade the builtin templates without risk of interfering with the user templates.
Should we allow a user to create a template with the same name as a builtin template?
We should could allow a user to create a template with the same name as a built in template as a way to 'override' the standard templates.
If this is the case then we should warn the user before creating the user template.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.