-
Notifications
You must be signed in to change notification settings - Fork 100
feat(cli): add tab completions #1082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
π¦ Bundle Size Comparisonπ nuxi
π nuxt-cli
π create-nuxt
|
commit: |
CodSpeed Performance ReportMerging #1082 will not alter performanceComparing Summary
|
3fab8fe to
911f4b4
Compare
danielroe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is looking very, very exciting!
b605055 to
81e36cf
Compare
Codecov Reportβ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1082 +/- ##
=======================================
Coverage ? 24.88%
=======================================
Files ? 85
Lines ? 4388
Branches ? 221
=======================================
Hits ? 1092
Misses ? 3266
Partials ? 30 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
|
@danielroe, thank you for reporting the issue! I updated tab to version |
|
thank you! CleanShot.2025-10-30.at.15.24.23.mp4testing this after installing tab completions for pnpm, it doesn't seem to work, however. am I missing anything? |
Did you source the script that tab generates? |
|
yes, no completions are printing at all. CleanShot.2025-10-30.at.16.53.09.mp4 |
|
@AmirSa12 investigated a bit more and the command embedded in bombshell completion script is failing: the problem here is a missing |
Hey @danielroe ! sorry for the delay, I was investigating this and I sent you a message on discord regarding this matter |
with the new version, the |
|
spotted a bug (I think) where the last completion gets 'replayed' if you press tab a second time. CleanShot.2025-11-04.at.16.35.14.mp4(but that's not a reason not to merge this PR) |
Oh! Thanks for letting me know. I will have a look! |

π Linked issue
#1078
β Type of change
π Description
This PR introduces tab completion functionality for the nuxt 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 more efficiently and faster with speeding up workflow.
A small video of how this works:
nuxi.mp4
A small documentation of how CLIs can integrate tab ( in this case, I'm using the citty adapter )