blendle / kns

quick Kubernetes Namespace Switcher
ISC License
292 stars 26 forks source link

ktx command fails without a current context #13

Closed cmeury closed 2 weeks ago

cmeury commented 1 year ago

Steps

  1. Remove the current-context entry from ~/.kube/config
  2. Run ktx

Observation

An error is shown (1):

error: current-context is not set

Expectation

The tool opens the available contexts as usual.