aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpt_chat_cli/main.py')
-rw-r--r--src/gpt_chat_cli/main.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpt_chat_cli/main.py b/src/gpt_chat_cli/main.py
index 77d2708..7af4d2d 100644
--- a/src/gpt_chat_cli/main.py
+++ b/src/gpt_chat_cli/main.py
@@ -1,3 +1,7 @@
+#!/usr/bin/env python3
+
+# PYTHON_ARGCOMPLETE_OK
+
def main():
# defer other imports until autocomplete has finished
from .argparsing import parse_raw_args_or_complete
@@ -34,5 +38,7 @@ def main():
else:
singleton(args)
+ return 0
+
if __name__ == "__main__":
main()