commands.sh

cargo owner

all

Manage the owners of a crate on the registry.

More info →

Options (3)

-a, --addboolean

Invite the given user or team as an owner

Example: cargo owner {{[-a|--add]}} {{username|github:org_name:team_name}} {{crate}}
-r, --removeboolean

Remove the given user or team as an owner

Example: cargo owner {{[-r|--remove]}} {{username|github:org_name:team_name}} {{crate}}
-l, --listboolean

List owners of a crate

Example: cargo owner {{[-l|--list]}} {{crate}}

Examples (4)

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
made by @shridhargupta | data from tldr-pages