Closed bazhenov closed 2 years ago
I've had similar thoughts, so I'm open to a PR.
I'd suggest giving it a "normal" name like last
or current
or something along those lines. Then if you want a very short command for it you can just alias it.
fixed by #205
Quite frequently I keep addressing the same set of target objects. It would be useful to print them without entering query again.
For example I enter following command:
then I need select a pod (maybe multiple times) and perform different actions like check logs or perform some shell commands. And each time before switch I need to recall the list of current target objects to make a new selection. Right now I do it using several strategies depending on a context:
It would be useful to have some easy way to print current set of target objects without entering query command again (
pods -r downloader
in my case). Preferably this command should be very short (like.
or even just maybe empty string?).Maybe something like this already exists, but I can't figure it out. If this change is in line with your vision, I'm interested to provide a PR.