kubespy
kubespy copied to clipboard
suggestion -> align cli with kube* tools
Unless there was a special reason behind, can it align options like: -n / --namespace and/or determine version automatically (v1) etc.
Thanks for the report. I (the primary author) 100% agree. I'm sorry we're not more aligned here yet -- as back story I wrote this tool initially to help me make nice gifs for our blog, and I truly did not intend for it to get picked up and used!
Now that it has, it is clearly my responsibility to fix it! In the next few weeks we will be looking carefully at what the CLI experience should be, which I imagine will include exposing the standard client-go flags to the user.
Thank you for your patience as we get this into shape.
Since we're using kubernetes/client-go under the covers, I think it is feasible to simply re-expose the client-go flags, as we did in ksonnet and kubecfg. This is not hard, we can pretty much copy these lines, which aren't even that dissimilar to what we have in place currently.
This would be a good usability improvement.