kubespy icon indicating copy to clipboard operation
kubespy copied to clipboard

suggestion -> align cli with kube* tools

Open ReSearchITEng opened this issue 7 years ago • 3 comments
trafficstars

Unless there was a special reason behind, can it align options like: -n / --namespace and/or determine version automatically (v1) etc.

ReSearchITEng avatar Sep 28 '18 04:09 ReSearchITEng

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.

hausdorff avatar Sep 28 '18 05:09 hausdorff

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.

hausdorff avatar Sep 29 '18 18:09 hausdorff

This would be a good usability improvement.

paultiplady avatar Feb 21 '20 21:02 paultiplady