Linux command
cargo-logout 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Logout from crates.io
cargo logout
Logout from specific registry
cargo logout --registry [my-registry]
说明
cargo logout removes the API token for a registry from local storage. This revokes the token saved by cargo login.
参数
- --registry _name_
- Registry to logout from (default: crates-io)
- -v, --verbose
- Verbose output
- -q, --quiet
- Suppress output
FAQ
What is the cargo-logout command used for?
cargo logout removes the API token for a registry from local storage. This revokes the token saved by cargo login.
How do I run a basic cargo-logout example?
Run `cargo logout` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --registry _name_ do in cargo-logout?
Registry to logout from (default: crates-io)