mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-10 20:35:46 +02:00

* cargo-*: add Chinese translation --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
20 lines
612 B
Markdown
20 lines
612 B
Markdown
# cargo owner
|
|
|
|
> 管理包在注册表上的所有者。
|
|
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-owner.html>.
|
|
|
|
- 邀请指定的用户或团队作为所有者:
|
|
|
|
`cargo owner --add {{用户名|github:机构名称:团队名称}} {{包名}}`
|
|
|
|
- 将指定的用户或团队从所有者中删除:
|
|
|
|
`cargo owner --remove {{用户名|github:机构名称:团队名称}} {{包名}}`
|
|
|
|
- 列出一个包的所有者:
|
|
|
|
`cargo owner --list {{包名}}`
|
|
|
|
- 使用指定的注册表 (注册表名称可以在配置中定义,默认为 <https://crates.io>):
|
|
|
|
`cargo owner --registry {{名称}}`
|