-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat: Add pixi global install --with
#2332
feat: Add pixi global install --with
#2332
Conversation
Still need to add more docs and tests
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.
looks good! can we have one more test where we have --with and two --environment arguments?
so we could validate this case
miette::bail!("Can't add packages with
--with for more than one environment");
match mappings.is_empty() { | ||
true => Self::All, | ||
false => Self::Subset(mappings), | ||
pub fn new(mappings: Vec<Mapping>, filter: Vec<PackageName>) -> Self { |
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.
just to not forget - I think we will need to rethink a little new method here, because if I pass both of them I will still use only mappings
Co-authored-by: nichmor <[email protected]>
I've addressed your comments |
No description provided.