Skip to content
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

cli-plugin: implement cd semantics #633

Closed
sttts opened this issue Mar 4, 2022 · 2 comments
Closed

cli-plugin: implement cd semantics #633

sttts opened this issue Mar 4, 2022 · 2 comments
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@sttts
Copy link
Member

sttts commented Mar 4, 2022

Workspace change is very much like cd in bash. We should have the same ways to go back and forth between root, orgs and workspaces:

$ kubectl config use-context root
$ kubectl kcp workspace use bigcorp
Current personal workspace is "bigcorp".
$ kubectl kcp workspace use myapp
Current personal workspace is "myapp".
$ kubectl kcp workspace use -
Current personal workspace is "bigcorp".
$ kubectl kcp workspace use ..
Current personal workspace is "root".
$ kubectl kcp workspace use -
Current personal workspace is "bigcorp".

Note: - is implemented, .. is not.

Also typing kubectl kcp workspace is tedious. Maybe we want kubectl kcp ws foo and kubectl kcp ws ...

@sttts sttts added kind/feature Categorizes issue or PR as related to a new feature. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Mar 4, 2022
@sttts
Copy link
Member Author

sttts commented Mar 25, 2022

Fixed by #744.

@sttts
Copy link
Member Author

sttts commented Mar 25, 2022

Duplicate of #632.

@sttts sttts closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant