handle KeyboardInterrupt in cli

Этот коммит содержится в:
Vlad Pronsky 2024-01-05 04:51:11 +02:00
родитель 4b67be62bb
Коммит 5fc84d8696

Просмотреть файл

@ -193,4 +193,7 @@ def run():
if args.command is None:
return custom_help(p)
asyncio.run(main(args))
try:
asyncio.run(main(args))
except KeyboardInterrupt:
pass