-
Notifications
You must be signed in to change notification settings - Fork 607
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
[rush] Add option to run bulk command in only specified project #1399
Comments
@mikeharder Do you envision this to be an option primarily for rush build or all commands? Can you give an example use case ? |
All commands. For example:
You would run these commands:
|
Suppose there was also a project
I think I would expect it to build Here are some other possible names to compare with: BTW #1241 has a related discussion about project selection. |
@octogonz: I agree the name
|
Currently the short name If we call it |
My favorite is still |
I agree |
i'd add a little suggestion to make |
aaaand just saw that --only already exists and can be used multiple times. please ignore. can this issue be closed then? or were you using it to track renaming the option to --project? |
Currently, Rush has two options for running bulk commands:
These cover most of our needs, but sometimes we want to run a command in only a single project, and neither its dependencies nor projects which depend on it. It would be great if Rush could add an option for this, like:
It might be better to use a different name for the parameter to avoid confusion with the existing option:
The text was updated successfully, but these errors were encountered: