feat(cli): add TAB completions
๐ Linked issue
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
This PR introduces tab completion functionality for the nitro cli, improving developer experience by allowing shell(zsh, powershell, fish, bash) autocompletion for commands, options, values, and flags. With this PR, users can navigate available commands, options and values faster!
A small video of how this looks:
https://github.com/user-attachments/assets/56c6b671-6573-4385-8a62-cfd2aa91735c
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.
@AmirSa12 is attempting to deploy a commit to the Nitro Team on Vercel.
A member of the Team first needs to authorize it.
Salam @pi0! I heard there were concerns about tab depending on the mri package. I just wanted to let you know that tab no longer depends on mri (tab now has zero dependencies), and Iโll be publishing a new version soon!
Thank you!
Amazin @AmirSa12! I will also try to find some time moving citty PR forward to make it happen!