nitro icon indicating copy to clipboard operation
nitro copied to clipboard

feat(cli): add TAB completions

Open AmirSa12 opened this issue 3 months ago โ€ข 3 comments

๐Ÿ”— 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 avatar Oct 13 '25 10:10 AmirSa12

@AmirSa12 is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 13 '25 10:10 vercel[bot]

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!

AmirSa12 avatar Oct 16 '25 07:10 AmirSa12

Amazin @AmirSa12! I will also try to find some time moving citty PR forward to make it happen!

pi0 avatar Oct 16 '25 08:10 pi0