c-bata / kube-prompt

An interactive kubernetes client featuring auto-complete.
MIT License
1.79k stars 134 forks source link

Fix how to determine the namespace to use. #42

Closed c-bata closed 5 years ago

c-bata commented 5 years ago

Previous:

Determine the namespace to use in following orders after merged this PR:

  1. Use a command-line flag if it exists --namespace (or -n).
  2. Use the namespace of current context.
c-bata commented 5 years ago

refs https://github.com/c-bata/kube-prompt/issues/19 and https://github.com/c-bata/kube-prompt/issues/13