Skip to content

Commit 0aa5314

Browse files
committed
added check to exit quitely if CLI is interrupted
1 parent 3f6a6f5 commit 0aa5314

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

coderdata/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def check_folder(path: Union[str, PathLike, Path]) -> Path:
7676

7777

7878
if __name__ == '__main__':
79-
main()
79+
try:
80+
main()
81+
except KeyboardInterrupt:
82+
pass
8083

8184

0 commit comments

Comments
 (0)