Skip to content

Commit

Permalink
wtf help command
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Nov 17, 2024
1 parent 11fd63b commit 0ea9198
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion scripts/wtf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import asyncio
import sys

if len(sys.argv) == 2 and sys.argv[1] == "--help":
print(
"""wtf is a command-line tool that fixes terminal errors.
Usage:
wtf Fix the last error
wtf <question> Get help with a specific question
wtf --help Show this help message
Set INTERPRETER_WTF_MODEL to change the model (default: gpt-4o-mini)
Examples: gpt-4o-mini, ollama/qwen2.5-coder, cerebres/llama3.1-70b"""
)
exit(0)

import asyncio
import threading
import time

Expand Down

0 comments on commit 0ea9198

Please sign in to comment.