@huabuyu233/edgit 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -112,6 +112,26 @@ edgit mirrors enable gh-proxy.com # 启用
|
|
|
112
112
|
edgit mirrors remove gh-proxy.com # 删除
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
+
## 帮助与自检
|
|
116
|
+
|
|
117
|
+
忘记命令用法或镜像站挂了时,交互式帮助会先询问意图再给出对应指南:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
edgit help # 交互菜单:1 命令用法 / 2 镜像维护指南
|
|
121
|
+
edgit help usage # 直达命令用法
|
|
122
|
+
edgit help mirrors # 直达镜像维护指南
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
自检命令(面向开发者):先做环境预检(git 必需,docker 缺失则跳过相关测试),再逐项测试
|
|
126
|
+
cli / clone / get / docker / mirrors,失败继续,结束清理全部测试产物(临时目录、配置备份、
|
|
127
|
+
docker 测试镜像)并汇总报告:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
edgit test # 测试全部功能
|
|
131
|
+
edgit test clone # 只测试单项
|
|
132
|
+
edgit test get <url> # 自定义下载地址
|
|
133
|
+
```
|
|
134
|
+
|
|
115
135
|
内置镜像按**权威性**排序(知名高校镜像在前,其次经久不衰、社区口碑好的镜像,全部可增删启停):
|
|
116
136
|
|
|
117
137
|
| 优先级 | 镜像 | clone | release | 说明 |
|
package/dist/edgit-darwin-amd64
CHANGED
|
Binary file
|
package/dist/edgit-darwin-arm64
CHANGED
|
Binary file
|
package/dist/edgit-linux-amd64
CHANGED
|
Binary file
|
package/dist/edgit-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|