Skip to content

Commit

Permalink
interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Dec 3, 2019
1 parent 0c2c069 commit 1b327f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ source <(kubecm completion zsh)
kubecm completion zsh > "${fpath[1]}/_kubecm"
```
### Interactive operation
![Interactive](dosc/Interaction.gif)
### Add configuration to `$HOME/.kube/config`
```bash
Expand Down
1 change: 0 additions & 1 deletion cmd/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ kubecm rename -n dev -c
num := SelectUI(kubeItems, "Select The Rename Kube Context")
kubeName := kubeItems[num].Name
rename := InputStr(kubeName)
fmt.Println(rename)
if obj, ok := config.Contexts[kubeName]; ok {
config.Contexts[rename] = obj
delete(config.Contexts, kubeName)
Expand Down
Binary file added dosc/Interaction.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b327f5

Please sign in to comment.