-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(cli): Added example usage for logout #15740
Conversation
f931afb
to
a371187
Compare
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15740 +/- ##
==========================================
- Coverage 49.98% 49.92% -0.07%
==========================================
Files 266 266
Lines 46043 46069 +26
==========================================
- Hits 23013 22998 -15
- Misses 20772 20812 +40
- Partials 2258 2259 +1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @gopikrishna7! Requested one small change. After making the change, could you run make clidocsgen
? That will update the CLI reference to include your change.
63ef519
to
b89ed96
Compare
Looks like you also will have to run |
Signed-off-by: gopikrishna7 <gopikrishna.mgk7@gmail.com>
b89ed96
to
a0edf94
Compare
|
||
``` | ||
# Logout from a context | ||
argocd logout localhost:8080 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the example I would use something that looks explicitly like a context name. I don't know if you can logout by sever URL TBH.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can logout by server URL, I have tried and got the below response
argocd logout localhost:8080
Logged out from 'localhost:8080'
@gopikrishna7 another PR touched the same files. Can you rebase? |
Looks like someone else got to this one first. Going with theirs since it has a bit more detail. |
For #15690
Checklist: