Closed solcates closed 6 years ago
Thanks. I'll try this changes later.
This changes definitely seems useful. But I think if client-go(kubernetes) provides the function to get cluster list, I think kube-prompt should use it . So now I read the implementation of kubectl. just a minute please.
I merged this and added a little bit refactor changes. Thanks! This feature is convenient. https://github.com/c-bata/kube-prompt/commit/6f52ee1f1635ff2ebc74c85f212767e77ed7c9ba
First off, great tool, and i like the modular framework of go-prompt.
This PR adds completion for "edit ", as well as easy switching of context from cluster to cluster via "config use-context ".
Hopefully someone else finds this useful, as i tend to live in a terminal, and switching from environment to environment for rapid management is fantastic.