c-bata / kube-prompt

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

How to exit from the command line? #7

Closed christian-posta closed 6 years ago

christian-posta commented 6 years ago

typing exit or quit doesn't seem to work...

c-bata commented 6 years ago

Ctrl+D is available to quit.

Hmm... It seems to be difficult to notice. I need to support exit command or display something message to explain how to quit.

c-bata commented 6 years ago

This issue is fixed at the latest revision of master branch.

$ kube-prompt 
kube-prompt v1.0.0 (rev-44c9760)
Please use `exit` or `Ctrl-D` to exit.
>>> exit
Bye!

diffs: https://github.com/c-bata/kube-prompt/commit/e3ab4f4152825e94ff2027c380aee2050bc2ca31

c-bata commented 6 years ago

Thanks. I close this.