-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
refactor deprecate command and add tests #2302
Conversation
When you say "list packages" - does that mean there's supposed to be a way for |
ah, nope. this was for tab completion, what you're suggesting would need an RFC, but is a pretty easy one for implementation. |
Thanks, I'll add that to my list then. |
PR-URL: #2302 Credit: @nlf Close: #2302 Reviewed-by: @ruyadorno
d5fde41
to
f682445
Compare
refactoring was mostly for readability, but there are some important changes to completion.
notably, the api endpoint we were using to list packages doesn't exist so could never work. i adjusted it to use a method that works, and to filter the result set based on current partial user input. i'm not totally sure if the filtering is necessary, but it seems kind to do it in js-land instead of letting the shell deal with it when the number of packages could be significant
References
Closes npm/statusboard#146