A simple self-use pull template project.
Supports github, gitlab, Bitbucket
If you have an excellent template project, you can leave address in issue.
npm i temp-manage -g tm create <projectName> tm add <templateName>The repo rules of the template can be viewed here
tm <rm|remove> <templateName> tm <open|explorer>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.
-
support theadd <templateName>|<templateAddress> -
support theremove | 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 migrationtm open -
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.