# Proposed title of this feature request Enhance oc cli tool to enable selecting resources by annotations (like label selector)
- What is the nature and description of the request? It would be very useful to select openshift resources by annotations, as it is already possible for labels:
oc get --help
...
-l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
--show-labels=false: When printing, show all labels as the last column (default hide labels column)
Would be great if you could provide a selector for annotations and "--show-annotations" too.
- Why you need this? (List the business requirements here)
This would make our work much easier and more efficient. There are lots of use cases where resources have to be searched or managed depending on their annotations. The "label selector" feature is very useful and often used, so the "annotation selector" feature would probably become very popular too.
- List any affected packages or components. oc cli