Docs / Using T Chat

Commands

Every ask command, with examples for piping and chat mode.

Reference

CommandWhat it does
ask "question"One-off answer.
askChat mode with memory of the conversation.
ask loginSign in with username and PIN.
ask pinChange your PIN.
ask usageShow your last 24 hours, last 7 days, total and limits.
ask logoutRemove the saved login and clear your ask commands from the shell history.
ask updateUpdate the command to the latest version.
ask helpList every keyword. -h and --help work too.

Piping input

Send a file, an error or a diff, and put the instruction in the argument.

bash
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:

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.