1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 08:15:53 +02:00
tldr/pages/common/cargo-owner.md
Managor d0a4ac3bc4
cargo*: add option placeholders and fix some syntax (#17270)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-07-20 15:41:22 +00:00

20 lines
621 B
Markdown

# 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 {{[-a|--add]}} {{username|github:org_name:team_name}} {{crate}}`
- Remove the given user or team as an owner:
`cargo owner {{[-r|--remove]}} {{username|github:org_name:team_name}} {{crate}}`
- List owners of a crate:
`cargo owner {{[-l|--list]}} {{crate}}`
- Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>):
`cargo owner --registry {{name}}`