Docs / Using T Chat
Commands
Every ask command, with examples for piping and chat mode.
Reference
| Command | What it does |
|---|---|
ask "question" | One-off answer. |
ask | Chat mode with memory of the conversation. |
ask login | Sign in with username and PIN. |
ask pin | Change your PIN. |
ask usage | Show your last 24 hours, last 7 days, total and limits. |
ask logout | Remove the saved login and clear your ask commands from the shell history. |
ask update | Update the command to the latest version. |
ask help | List every keyword. -h and --help work too. |
Piping input
Send a file, an error or a diff, and put the instruction in the argument.
cat app.py | ask "fix the bug"
git diff | ask "write a commit message"
npm test 2>&1 | ask "why is this failing?"On Windows PowerShell:
Get-Content app.py | ask "fix the bug"Chat mode
Run ask with no arguments. Each line you type is a question, and follow-ups remember the earlier ones. Type exit or quit to leave.