neoman - Old Saxon. None, nobody.
A template manager that intends to be nobody and nothing; it doesn't want to impose. Neoman knows that your code shouldn't have to become a project template, because it already is one. 😌
Drop the following folder and file into your project, and Neoman will have all it needs.
MyProject/.neoman.config/template.json
or
.neoman.config/template.json
MyProject/
(you can also put it in parallel and adjust the root attribute).
A minimal template.json
would look like this:
{
"name": "My Project Template",
"description": "My useful project template will lead many to triumph.",
"author": "Noh Body",
"url": "https://en.wikipedia.org/wiki/Outis",
"identity": "myprojtmp",
"input": {
"use": "prompt",
"define": {
"namespace": "What will the root namespace of your project be?"
}
},
"transform": [
{ "subject": "my.project.namespace", "with": "{{namespace}}" }
],
"#": "You don't need 'files' if you want the 'transform' and 'pathTransform' sections to apply to all files",
"files": ["**/*.ts"]
}
Once your project is ready, setup a folder to store your templates, and copy the project folder there. Then, it's ready to use via neoman.io.
For documentation, please refer to the wiki.