Open yeikel opened 1 year ago
We recently added the concept of traits to our recipe authoring experience, which could be a good match here to match any line that contains a command, and apply a transformation that then gets written back out again. That ought to reduce these referenced recipes to mostly wrappers around that matcher with a display name and description, but barely any logic.
The recipes
20,
33 and
35
are trying to accomplish the same: Given an existing step/command, provide a recipe to update/replace the existing value
Can we create a generic recipe to cover both scenarios?
We can still leave them as templates but this recipe should have most of the logic for them