1.0.6 • Published 2 years ago
temp-manage v1.0.6
temp_manage
A simple self-use pull template project.
Supports github
, gitlab
, Bitbucket
If you have an excellent template project, you can leave address in issue.
Install
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
Remove template
tm <rm|remove> <templateName>
Transfer or Edit template with JSON
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.
Future
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.json
under 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.