forked from Gitlink/gitlink-cli
feat(template): 新增项目模板管理命令 #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
功能概述
新增项目模板管理命令,支持查看和应用 GitLink 平台的项目模板。
命令列表
template +list- 列出可用模板template +view- 查看模板详情template +apply- 应用模板到仓库变更文件
shortcuts/template/template.go- 模板命令实现shortcuts/template/template_test.go- 单元测试shortcuts/register.go- 注册新模块README.md/README.zh-CN.md- 更新文档测试
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.