Why
No tab-completion for klaatai/klaatcode commands and flags in bash/zsh/fish. Small quality-of-life win every terminal user feels immediately.
What
- Completion scripts for bash, zsh, and fish covering: top-level commands (
chat, run, login, logout, whoami, upgrade, serve, web), their flags, and both binary names
- A
klaatai completions <shell> command that prints the script (the standard pattern), so users can do e.g. klaatai completions zsh > ~/.zfunc/_klaatai
- Install hint in the README
Static completions are fine for v1 — no need for dynamic session-id completion.
Where to start
src/main.tsx — commander already knows the command tree; generate from it if easy, otherwise hand-write the three scripts under a new completions/ dir and have the command print them
Acceptance criteria
- Works in a fresh bash, zsh, and fish shell (document how you tested)
- typecheck green
Why
No tab-completion for
klaatai/klaatcodecommands and flags in bash/zsh/fish. Small quality-of-life win every terminal user feels immediately.What
chat,run,login,logout,whoami,upgrade,serve,web), their flags, and both binary namesklaatai completions <shell>command that prints the script (the standard pattern), so users can do e.g.klaatai completions zsh > ~/.zfunc/_klaataiStatic completions are fine for v1 — no need for dynamic session-id completion.
Where to start
src/main.tsx— commander already knows the command tree; generate from it if easy, otherwise hand-write the three scripts under a newcompletions/dir and have the command print themAcceptance criteria