STX-211 Implement contexts support and a few minor changes (1) - #37
Open
valkovich-ds wants to merge 2 commits into
Open
STX-211 Implement contexts support and a few minor changes (1)#37valkovich-ds wants to merge 2 commits into
valkovich-ds wants to merge 2 commits into
Conversation
valkovich-ds
marked this pull request as ready for review
July 28, 2026 06:22
valkovich-ds
force-pushed
the
STX-211-cli-foundation
branch
3 times, most recently
from
July 29, 2026 10:33
a76ca31 to
528fd27
Compare
valkovich-ds
force-pushed
the
STX-211-cli-foundation
branch
from
July 29, 2026 11:46
528fd27 to
12340b9
Compare
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.
📋 Type of the Changes
🛠 Changes being made
Currently it point to a temporary dev server. It should point to default streamx.com prod URLs.
Contexts feature
CLI user can have multiple StreamX contexts on a single machine and switch between them.
All the settings, event templates, login credentials, etc., are stored per context.
Stored in
~/.streamx/contexts/<context_name>/.The
defaultcontext file structure is created on first use.The current context is stored in
~/.streamx/current-contextSelection precedence:
-C/--contextflag >STREAMX_CONTEXTenv >current-contextpointer file >default.For context management, these commands are implemented:
streamx context create|list|use|current|deleteOther changes
TextTablerenderer is used for all list commands to guarantee consistent formatting.DeleteConfirmationrenderer for destructive operations.✅ Checklist