Possible to Remove Part from Feature via Recipe / Command Line?

Topics: Customizing Orchard
Oct 3, 2014 at 3:04 PM
I am working to further automate Orchard, especially in the recipe department. I have not been able to find a means to Remove a part from a feature, either in a recipe or via command line (which of course could be used in a recipe if I could find one). I am guessing it would need done via recipe.

So, I am just wondering if this exists anywhere. If it doesn't, will likely make one.

As to why this would be useful. Right now, the default ProjectionPage content type deploys with the "MenuPart" attached. I like to utilize the "NavigationPart" and don't want the "MenuPart" confusing people. However, there is no way (that I know of) to prevent this from being appended during the migration (so it needs removed after the fact).