1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 10:15:28 +02:00

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>
This commit is contained in:
Omnath Mandal 2023-10-08 15:02:58 +05:30 committed by GitHub
parent 220aab1ce1
commit bf3cf7310c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,36 @@
# 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`