- 
                Notifications
    
You must be signed in to change notification settings  - Fork 99
 
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
base: main
Are you sure you want to change the base?
Conversation
          π¦ Bundle Size Comparisonπ nuxi
 π nuxt-cli
 π create-nuxt
  | 
    
          
commit:   | 
    
          
CodSpeed Performance ReportMerging #1082 will not alter performanceComparing  Summary
  | 
    
3fab8fe    to
    911f4b4      
    Compare
  
    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.98%           
=======================================
  Files           ?       85           
  Lines           ?     4350           
  Branches        ?      220           
=======================================
  Hits            ?     1087           
  Misses          ?     3233           
  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   | 
    

π Linked issue
β 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 )