suzieq icon indicating copy to clipboard operation
suzieq copied to clipboard

User Data Tab Completion

Open holmanb opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Requesting the addition of tab completion to user filter values in the cli? For example to do a search on a mac address, one could:

root > address show address="52:54:00:5d:da:ac"

or to do a substring search use query_str:

root> address show query-str='macaddr.str.contains("52:54:00:5d")'

Describe the solution you'd like

It would be really nice if one could use tab completion with the mac addresses themselves (in the address filter specifically, not query-str). Similarly completion for other user data (hostnames, namespaces, vrfs, routes, etc) would be nice.

holmanb avatar Apr 14 '21 01:04 holmanb

Blocked for the moment by the underlying framework limitation: https://github.com/facebookincubator/python-nubia/issues/14. Need to figure out more nuanced response.

ddutt avatar May 02 '21 00:05 ddutt

Thanks for the update.

holmanb avatar May 02 '21 04:05 holmanb