Skip to content

Commit

Permalink
added example usage for logout
Browse files Browse the repository at this point in the history
Signed-off-by: gopikrishna7 <gopikrishna.mgk7@gmail.com>
  • Loading branch information
gopikrishna7 committed Oct 3, 2023
1 parent fc0de35 commit b89ed96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/argocd/commands/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var (
# Logout from a context
argocd logout localhost:8080
#Get list of contexts
# Get list of contexts
argocd context
`)
)
Expand Down
10 changes: 10 additions & 0 deletions docs/user-guide/commands/argocd_logout.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ Log out from Argo CD
argocd logout CONTEXT [flags]
```

### Examples

```
# Logout from a context
argocd logout localhost:8080
# Get list of contexts
argocd context
```

### Options

```
Expand Down

0 comments on commit b89ed96

Please sign in to comment.