feat(cli): add context show and session status commands#3096
Open
atharvalade wants to merge 2 commits intoapache:masterfrom
Open
feat(cli): add context show and session status commands#3096atharvalade wants to merge 2 commits intoapache:masterfrom
atharvalade wants to merge 2 commits intoapache:masterfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3096 +/- ##
============================================
- Coverage 72.71% 72.69% -0.02%
Complexity 943 943
============================================
Files 1117 1119 +2
Lines 96285 96358 +73
Branches 73485 73558 +73
============================================
+ Hits 70014 70050 +36
- Misses 23725 23746 +21
- Partials 2546 2562 +16
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #3000
Rationale
The CLI lacked observability into context configuration and login session state, forcing users to manually read
~/.iggy/contexts.tomlor run authenticated commands to check connectivity.What changed?
Previously there was no way to inspect what a context contains or whether a login session is active without workarounds. Users had to read raw TOML files or run
iggy meand hope it worked.This adds
iggy context show <name>to display a named context's full configuration (transport, addresses, TLS, credentials with masking) andiggy session statusto check the local keyring for an active login session and show which server it targets — both without requiring a server connection.Local Execution
AI Usage