关于 PR (Pull Request)
- 前提: 你应该先阅读 关于补全的 json 文件结构
- 你需要
forkPSCompletions 仓库,clone到本地进行修改 - 修改完成后,提交并创建 PR
更新 json 文件内容
TIP
- 完善补全的一些提示信息(
tip属性) - 添加补全的一些缺失的命令
链接补全进行测试
shell.\scripts\link-completion.ps1 git查看已知的未完成内容
shell.\scripts\compare-json.ps1 git完成后,更新 guid
sh.\scripts\update-guid.ps1 git
添加语言
TIP
假设要为 git 添加 zh-HK 语言
修改
completions\git\config.json文件,添加zh-HK到language属性中在
completions\git\language目录下添加zh-HK.json文件翻译
tip属性的内容完成后,更新 guid
sh.\scripts\update-guid.ps1 git
添加新的命令补全
以
test为例
创建新的补全
shell.\scripts\create-completion.ps1 test按需修改补全和
config.json完成后,更新 guid
sh.\scripts\update-guid.ps1 test