blendle / kns

quick Kubernetes Namespace Switcher
ISC License
295 stars 27 forks source link

ktx command fails without a current context #13

Closed cmeury closed 2 months 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.