1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 18:55:24 +02:00
tldr/pages/common/cargo-owner.md
Lena 02c7e38f8b
cargo-*: add page; cargo-logout: update page (#11337)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2023-10-31 08:29:03 +01:00

600 B

cargo owner

Manage the owners of a crate on the registry. More information: https://doc.rust-lang.org/cargo/commands/cargo-owner.html.

  • Invite the given user or team as an owner:

cargo owner --add {{username|github:org_name:team_name}} {{crate}}

  • Remove the given user or team as an owner:

cargo owner --remove {{username|github:org_name:team_name}} {{crate}}

  • List owners of a crate:

cargo owner --list {{crate}}

  • Specify the name of the registry to use (registry names can be defined in the config - the default is https://crates.io):

cargo owner --registry {{name}}