mirror of
https://github.com/SantaSpeen/CLI-in-Python.git
synced 2025-07-01 15:25:31 +00:00
1.0
This commit is contained in:
parent
81ed4640a0
commit
c25da23d4c
@ -221,8 +221,8 @@ class Console:
|
||||
else:
|
||||
self.log(self.__not_found % cmd)
|
||||
except Exception as e:
|
||||
if e == KeyboardInterrupt:
|
||||
raise e
|
||||
# if e == KeyboardInterrupt:
|
||||
# raise e
|
||||
ConsoleIO.write_err("\rDuring the execution of the command, an error occurred:\n\n" +
|
||||
str(traceback.format_exc()) +
|
||||
"\nType Enter to continue.")
|
||||
|
@ -94,6 +94,6 @@ def cli_mode():
|
||||
|
||||
if __name__ == '__main__':
|
||||
cli_print()
|
||||
# logger_preview()
|
||||
# builtins_preview()
|
||||
# cli_mode()
|
||||
logger_preview()
|
||||
builtins_preview()
|
||||
cli_mode()
|
||||
|
Loading…
x
Reference in New Issue
Block a user