We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11fd63b commit 0ea9198Copy full SHA for 0ea9198
scripts/wtf.py
@@ -1,5 +1,20 @@
1
-import asyncio
2
import sys
+
3
+if len(sys.argv) == 2 and sys.argv[1] == "--help":
4
+ print(
5
+ """wtf is a command-line tool that fixes terminal errors.
6
7
+Usage:
8
+ wtf Fix the last error
9
+ wtf <question> Get help with a specific question
10
+ wtf --help Show this help message
11
12
+Set INTERPRETER_WTF_MODEL to change the model (default: gpt-4o-mini)
13
+Examples: gpt-4o-mini, ollama/qwen2.5-coder, cerebres/llama3.1-70b"""
14
+ )
15
+ exit(0)
16
17
+import asyncio
18
import threading
19
import time
20
0 commit comments