oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

Feature request: navigation of lists

Open NazariGamer opened this issue 2 years ago • 4 comments

Hi, Interactive mode is fantastic. I have one request to make it even better.

If I am presented a very long list - for example all the user or all the compartments - it would be nice if I could type the first letters and a filter based on those characters is automatically applied.

This makes navigating large list much more easy and fast.

Thanks!

NazariGamer avatar Feb 09 '23 13:02 NazariGamer

Thanks @exelanz for the suggestion. cc @KartikShrikantHegde

karthik-k-kamath avatar Feb 09 '23 14:02 karthik-k-kamath

Doesn't it already do this? It works for me... Type a few letters of the resource name and wait a few seconds for the short list to pop up.
The filter searches anywhere in the name - not just the start of the name.

kevco-us avatar Feb 14 '23 16:02 kevco-us

Hi, yes indeed. The issue was that it takes some while before the filtered list appears. I am probably not the only one to come across this hurdle. But glad it works :-)

NazariGamer avatar Feb 14 '23 20:02 NazariGamer

I agree that it could work faster. It appears to be sending a a request to get (another) list of resources, then filtering the results. But it should already have the full list of resources, so there's no need for a delay.

kevco-us avatar Feb 14 '23 23:02 kevco-us