boilr is abandonware, let's do our own thing.
go get github.com/4thel00z/templatectl
You can update to the newest version of templatectl using:
templatectl upgrade
In order to download a template from a github repository, use the following command:
templatectl template download <github-repo-path> <template-tag>
templatectl template download 4thel00z/service-module sm
The downloaded template will be saved to local templatectl
registry.
In order to save a template from filesystem to the template registry use the following command:
templatectl template save <template-path> <template-tag>
templatectl template save ~/templates/node-noob node-noob
The saved template will be saved to local templatectl
registry.
For a templatectl template with the given directory structure:
.
├── project.json
├── README.md
└── template
└── package.json
And the following project.json
context file:
{
"Author": "4thel00z",
"Year": "2021",
"TaskRunner": [
"gulp",
"make",
"just"
]
}
When using the template with the following command:
templatectl template use <template-tag> <target-dir>
templatectl template use node-noob /home/noob/node/project
This project is licensed under the GPL-3 license.