-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for inserting a line after a matching line is found #79
Projects
Comments
This was referenced May 19, 2018
Current syntax for this request in #101
|
That looks excellent to me. Way above and beyond what I had been imagining no less. I'm interested to look through the code and see how it all works. Thank you for addressing my request! |
Fixed by #121 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be great if this cookbook had the ability to search for a matching line of text and then insert another line after it. It would certainly help keep things organized in config files and the like when templates are not a good option.
I'm going to be away for a bit, but if no one tackles it before I have time I can certainly give it a go myself and submit a PR. I think it should be similar to the replace_or_add functionality (insert_or_add perhaps?), but I can think of a number of edge cases that would need addressing.
The text was updated successfully, but these errors were encountered: