From bf3cf7310c573b59472ddc33974d27827e8feaa5 Mon Sep 17 00:00:00 2001 From: Omnath Mandal <145841395+htanmo@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:02:58 +0530 Subject: [PATCH] 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 * Update pages/common/cargo-logout.md Co-authored-by: pixel * Update pages/common/cargo-logout.md Co-authored-by: pixel * fix * Update cargo-logout.md * Update cargo-logout.md * [Fixed] cargo-logout.md * cargo-logout.md [FIX] --------- Co-authored-by: pixel --- pages/common/cargo-logout.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/cargo-logout.md diff --git a/pages/common/cargo-logout.md b/pages/common/cargo-logout.md new file mode 100644 index 0000000000..f8c2ffd87b --- /dev/null +++ b/pages/common/cargo-logout.md @@ -0,0 +1,36 @@ +# cargo logout + +> Remove an API token from the registry locally. +> More information: . + +- 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`