belitre / kctx-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix rename to existing context

belitre opened this issue · comments

When renaming a context to a name of another existing context leaves two contexts with the same name.

Rename should check and fail if there is a context with the new name already, maybe even add a --force flag to delete the old context with that name, and then rename?

Fixed with #4