Open guettli opened 1 week ago
kubectl-explore shows me this path:
deployments.spec.template.spec.containers.terminationMessagePath
I know that below "containers" a list is required. It would be nice to make this more obvious, because for custom CRDs I don't always know that.
The output of gron uses [] to indicate that.
[]
What about showing this path, if a list is required?
deployments.spec.template.spec.containers[].terminationMessagePath
@guettli
Thank you for your feedback! I would like to add --show-brackets (false by default) to show [] in the path.
--show-brackets
@guettli Can you check the GIF in the #45 ? Is the behavior that you want?
kubectl-explore shows me this path:
I know that below "containers" a list is required. It would be nice to make this more obvious, because for custom CRDs I don't always know that.
The output of gron uses
[]
to indicate that.What about showing this path, if a list is required?