table of contents
CARGO-OWNER(1) | CARGO-OWNER(1) |
NAME¶
cargo-owner - Manage the owners of a crate on the registry
SYNOPSIS¶
cargo owner [OPTIONS] --add LOGIN
[CRATE]
cargo owner [OPTIONS] --remove LOGIN
[CRATE]
cargo owner [OPTIONS] --list
[CRATE]
DESCRIPTION¶
This command will modify the owners for a crate on the registry. Owners of a crate can upload new versions and yank old versions. Non-team owners can also modify the set of owners, so take care!
This command requires you to be authenticated with either the --token option or using cargo-login(1).
If the crate name is not specified, it will use the package name from the current directory.
See the reference <https://doc.rust-lang.org/cargo/reference/publishing.html#cargo-owner> for more information about owners and publishing.
OPTIONS¶
Owner Options¶
-a, --add LOGIN...
-r, --remove LOGIN...
-l, --list
--token TOKEN
Cargo config <https://doc.rust-lang.org/cargo/reference/config.html> environment variables can be used to override the tokens stored in the credentials file. The token for crates.io may be specified with the CARGO_REGISTRY_TOKEN environment variable. Tokens for other registries may be specified with environment variables of the form CARGO_REGISTRIES_NAME_TOKEN where NAME is the name of the registry in all capital letters.
--index INDEX
--registry REGISTRY
Display Options¶
-v, --verbose
-q, --quiet
--color WHEN
May also be specified with the term.color config value <https://doc.rust-lang.org/cargo/reference/config.html>.
Common Options¶
+TOOLCHAIN
-h, --help
-Z FLAG...
ENVIRONMENT¶
See the reference <https://doc.rust-lang.org/cargo/reference/environment-variables.html> for details on environment variables that Cargo reads.
EXIT STATUS¶
0
101
EXAMPLES¶
cargo owner --list foo
cargo owner --add username foo
cargo owner --remove username foo
SEE ALSO¶
2019-09-05 |