ricklamers/shell-ai

Canceling the confirm prompt produces error

peteallport opened this issue · 1 comments

Canceling the prompt causes the below error...

macOS:shell-ai user$ shai terraform check
? Select a command: terraform validate
? Confirm: terraform validate
Traceback (most recent call last):
  File "/opt/homebrew/bin/shai", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/shell_ai/main.py", line 171, in main
    ).execute()
      ^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/InquirerPy/base/simple.py", line 336, in execute
    raise KeyboardInterrupt
KeyboardInterrupt

Ah good catch, cleaned it up 26f8e19