2023-10-31 07:29:03 +00:00
|
|
|
# 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}}`
|
|
|
|
|
2024-01-25 05:29:16 +00:00
|
|
|
- Use the specified registry (registry names can be defined in the configuration - the default is <https://crates.io>):
|
2023-10-31 07:29:03 +00:00
|
|
|
|
|
|
|
`cargo owner --registry {{name}}`
|