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:
parent
220aab1ce1
commit
bf3cf7310c
1 changed files with 36 additions and 0 deletions
36
pages/common/cargo-logout.md
Normal file
36
pages/common/cargo-logout.md
Normal 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`
|
Loading…
Add table
Reference in a new issue