fabrikate
fabrikate copied to clipboard
Remove a Subcomponent from Config
As a: Developer
I want:
A command to remove a subcomponent from config/common.yaml
So that: I can fully remove a subcomponent from my HLD by running Fabrikate commands.
Describe the solution you'd like:
For removing a subcomponent from component.yaml
, there is currently fab remove <subcomponent>. I would like a similar command for removing a subcomponent from
config/common.yaml`
Describe alternatives you've considered: Currently to remove the subcomponent from common.yaml I am using a python script with a yaml parser to load the whole file, remove the subcomponent that I no longer need, and then rewrite the file in place. It would be convenient to have support for this feature in Fabrikate to eliminate other tooling for removing a subcomponent.
Additional context: