Add CLI context management commands#73
Merged
Merged
Conversation
Implement a complete context management system for the CLI allowing users to: - List configured contexts with endpoint, kind, and auth status - Display the current active context - Switch between contexts with support for returning to previous context via - Add new contexts with auto-detection of connection type (unix/http) - Remove contexts with confirmation prompt or force flag Changes include: - New context subcommand group and five subcommands (add, list, current, use, remove) - Comprehensive test coverage for all context operations and edge cases - Support for authentication tokens stored in system keyring - Extended context schema to track previous context for quick switching - Keyring mock generation for testing secure credential operations Co-authored-by: construct-agent <noreply@construct.sh>
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.
Implement a complete context management system for the CLI allowing users to:
Changes include: