fabrikate icon indicating copy to clipboard operation
fabrikate copied to clipboard

Remove a Subcomponent from Config

Open jomalsan opened this issue 5 years ago • 0 comments

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:

jomalsan avatar Jul 12 '19 22:07 jomalsan