-
Notifications
You must be signed in to change notification settings - Fork 201
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
Remove dependency from feature through cli #680
Remove dependency from feature through cli #680
Conversation
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.
Nice work! Awesome to see you tackle small parts!
src/project/manifest/mod.rs
Outdated
@@ -308,15 +308,13 @@ impl Manifest { | |||
dep: &PackageName, | |||
spec_type: SpecType, | |||
platform: Option<Platform>, | |||
feature_name: Option<&FeatureName>, |
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.
I think you can use the same logic here. I think the user should always pass a feature name. Its either the default or a named one.
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.
Ah yeah, changed that in d8dbc95
This adds
--feature FEATURENAME
to thepixi remove
command.Did this one first as it is probably one of the simplest commands to modify. To prepare for the full multi env integration.