Typing a single quote causes the following error:
kube-shell> kubectl get pods --selector=Exception in thread Thread-43:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.target(*self.args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/interface.py", line 865, in run
completions = list(buffer.completer.get_completions(document, complete_event))
File "/usr/local/lib/python2.7/dist-packages/kubeshell/completer.py", line 41, in get_completions ON [F10] Exit
tokens = shlex.split(cmdline)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
'
Typing a single quote causes the following error: kube-shell> kubectl get pods --selector=Exception in thread Thread-43: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/interface.py", line 865, in run completions = list(buffer.completer.get_completions(document, complete_event)) File "/usr/local/lib/python2.7/dist-packages/kubeshell/completer.py", line 41, in get_completions ON [F10] Exit
tokens = shlex.split(cmdline) File "/usr/lib/python2.7/shlex.py", line 279, in split return list(lex) File "/usr/lib/python2.7/shlex.py", line 269, in next token = self.get_token() File "/usr/lib/python2.7/shlex.py", line 96, in get_token raw = self.read_token() File "/usr/lib/python2.7/shlex.py", line 172, in read_token raise ValueError, "No closing quotation" ValueError: No closing quotation '