You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//there are two output settings in this subcommand: kubectl get's and kubectl-neat's
94
+
//any combination of those can be provided by using the output flag in either side of the --
95
+
//the most efficient is kubectl: json, kubectl-neat: yaml
96
+
//0--0->Y--J #choose what's best for us
97
+
//0--Y->Y--Y #user did specify output in kubectl, so respect that
98
+
//0--J->J--J #user did specify output in kubectl, so respect that
99
+
//Y--0->Y--J #user doesn't care about kubectl so use json but convert back
100
+
//J--0->J--J #user expects json so use it for foth
101
+
//if the user specified both side we can't touch it
102
+
103
+
//the desired kubectl get output is always json, unless it was explicitly set by the user to yaml in which case the arg is overriden when concatenating the args later
0 commit comments