feature: support adding comments #71
Labels
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
type-enhancement
A request for a change that isn't a bug
Currently there isn't any method to add or update comments in a yaml file.
Usecase: we currently use a script to update dependencies in our flutter projects, We also want to append comments to it showcasing that it's AutoGenerated and should not be modified by hand. invertase/melos#692
A similar approach is being used in Flutter repo: https://github.com/flutter/flutter/blob/master/packages/flutter/pubspec.yaml#L33-L49
The text was updated successfully, but these errors were encountered: