kxr / o-must-gather

oc like tool that works with must-gather rather than OpenShift API
GNU General Public License v3.0
161 stars 73 forks source link

Support get --output=name #55

Open YuviGold opened 3 years ago

YuviGold commented 3 years ago

Currenlty omg get supports only yaml, json, wide Would be beneficial to support only the name scenario. This could be easily used for further manipulation. e.g.

[root@rdu-infra-edge-01 test-infra]# kubectl get pod -n kube-system -o name
pod/coredns-74ff55c5b-rrj75
pod/etcd-minikube
pod/kube-apiserver-minikube
pod/kube-controller-manager-minikube
pod/kube-proxy-s7dwh
pod/kube-scheduler-minikube
pod/storage-provisioner
kxr commented 3 years ago

@YuviGold Thanks for raising this feature request. It makes perfect sense to have this feature. I will implement it very soon.