1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:26:04 +02:00

choco-source: add Chinese translation

This commit is contained in:
Starccy 2019-03-10 21:55:21 +08:00 committed by Starbeamrainbowlabs
parent 02bbdc4d7d
commit e87c68b907

View file

@ -0,0 +1,31 @@
# choco source
> 使用Chocolatey管理包的源.
- 列出当前可用的源:
`choco source list`
- 添加一个新的包源:
`choco source add --name {{名称}} --source {{url}}`
- 添加包含凭据的新包源:
`choco source add --name {{名称}} --source {{url}} --user {{用户名}} --password {{密码}}`
- 使用客户端证书添加新的包源:
`choco source add --name {{名称}} --source {{url}} --cert {{证书的路径}}`
- 启用一个包源:
`choco source enable --name {{名称}}`
- 禁用一个包源:
`choco source disable --name {{名称}}`
- 移除一个包源:
`choco source remove --name {{名称}}`