Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Nov 26, 2019
1 parent 76f464f commit df466c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Available Commands:
get Displays one or many contexts from the kubeconfig file.
help Help about any command
merge Merge the kubeconfig files in the specified directory.
rename Rename the contexts of kubeconfig
use Sets the current-context in a kubeconfig file
version Prints the kubecm version

Expand Down Expand Up @@ -125,6 +126,15 @@ kubecm delete my-context
kubecm use test
```
### Rename context
```bash
# Renamed dev to test
kubecm rename -o dev -n test
# Renamed current-context name to dev
kubecm rename -n dev -c
```
## Contribute
Feel free to open issues and pull requests. Any feedback is highly appreciated!
Expand Down

0 comments on commit df466c7

Please sign in to comment.