1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/cargo-logout.md
Omnath Mandal bf3cf7310c
cargo-logout: add page (#10805)
* cargo-logout command

added cargo-logout command docs

* Updated cargo-logout.md

updated style to match other .md files

* Update cargo-logout.md

* Update cargo-logout.md

* fixes cargo-logout.md

* [FIX]

removed extra lines

* [FIX] cargo-logout.md

* Remove extra (s)

* removed extra example

* Update pages/common/cargo-logout.md

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/common/cargo-logout.md

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/common/cargo-logout.md

Co-authored-by: pixel <pixel+github@chrissx.de>

* fix

* Update cargo-logout.md

* Update cargo-logout.md

* [Fixed] cargo-logout.md

* cargo-logout.md [FIX]

---------

Co-authored-by: pixel <pixel+github@chrissx.de>
2023-10-08 16:32:58 +07:00

36 lines
727 B
Markdown

# cargo logout
> Remove an API token from the registry locally.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-logout.html>.
- Remove the API token from the local credential storage:
`cargo logout`
- Add the name of the registry to use:
`cargo logout --registry {{registry}}`
- Display verbose output:
`cargo logout --verbose`
- Do not print Cargo log message:
`cargo logout --quiet`
- Control when colored output is used:
`cargo logout --color {{auto|always|never}}`
- Override a Cargo configuration value:
`cargo logout --config {{KEY=VALUE|PATH}}`
- Change the current directory before executing any specified operation:
`cargo logout -c {{PATH}}`
- Display help:
`cargo logout --help`