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
Add shortened alias for --filter #3467
Comments
I would probably use |
@pnpm/collaborators should we make |
Mentally, it's true that |
The only documented usage of So I think it's fine to make |
Sorry to butt in, just throwing this out there though because I agree changing -f for install and such might be ambiguous/unexpected. What about:
|
As some examples, Lerna & Turborepo uses |
Is big |
Describe the user story
I type
--filter
quite a bit in my monorepo. Some percentage of the time, I type--filter
instead. Plus, it's just kind of lengthy when I also need to type a package name / folder / etc. I'd love to just type something shorter, like I can for-f
(force) orpnpm i
.Describe the solution you'd like
I'm not sure what would be a suitable letter for it. Since
--force
is taking up-f
, maybe-F
would be a good shortened version.Describe the drawbacks of your solution
It's fairly close to
-f
for--force
and if you mess it up that could have bad consequences.Describe alternatives you've considered
Maybe
-i
because it's the next letter in "filter", or-m
that might mentally map to "match."The text was updated successfully, but these errors were encountered: