A simple self-use pull template project.
If you have an excellent template project, you can leave address in issue.
npm i temp-manage -g
Create new project from template
tm create <projectName>
Add new template
tm add <templateName>
The repo rules of the template can be viewed here
tm <rm|remove> <templateName>
Transfer or Edit template with JSON
You can manipulate the template list by directly changing the template.json in the open folder, or you can copy it directly to another computer and migrate it.
remove | rm <templateName>
- [ ]
set the source url that personal json(Because I didn't think about how to realize it more appropriately, I changed it to export form)
tm set source=<url>
Users can edit the template list directly to facilitate migration
This is specially prepared for myself. You can create
.tempc.jsonunder the folder to control the list of templates in this folder. For example, I have two folders, one of which is a company project. Here, I just need some templates for business components, and the other is my presentation folder. I'll put some blank templates in it. And the global template will work when I use GitHub development.