-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Persisting context for multiple projects #8
Comments
I was thinking about the commands for setting the context and then also overriding it if the user wants. @derberg do let me know what you think about this - To set, update and delete the context
To override the context or to use a temporary context we can have a
|
I very much like kubectl and not having actions as flags, have a look at https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-context-and-configuration
thoughts? |
Yeah, this is better, it's clear to understand. So instead of flags, we use commands like
So if One thing I would like to clarify, about saving the context. As we will be saving the <filePath | URL> of the spec file.
|
except for setting and removing, user also needs a way to list all (to know which one to set) and to check what is the current. the best would be to save the context file as |
@derberg to sum up, how about these commands for the context.
|
if I want to switch from context A to B, would I use |
Yeah, |
|
ok, got it. 👍🏻 |
@derberg shall I start working on this issue 😊. |
@Souvikns I think it is about time. Just consider as small PRs as possible to make review and merge process easy, so not all commands at start. also current |
🎉 This issue has been resolved in version 0.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I think we should store the context as a key:value pair of the directory the command was invoked to the context path
this command will save the {process.cwd(): "/path/to/spec/file"}, this way we can persist
the context for that specific folder/workspaces.
The text was updated successfully, but these errors were encountered: