Support HEREDOC for multi-line config values
nigelellis opened this issue · 3 comments
nigelellis commented
I've been converting a bunch of complex multi-line config files over. For readability, it would be great to support optional HEREDOC style multi-line string values.
For example rather than:
...
value = "line1\nline2\n...lineX\n"
...
The tool could generate:
...
value = <<EOF
line1
line2
...
lineX
EOF
...
Thanks for pulling together such a great tool.
sl1pm4t commented
Good suggestion - thanks @nigelellis.
simonkarman commented
Hey @sl1pm4t I was looking for the same functionality @nigelellis mentioned here. Any chance this will be added to the tool soon? Or can I help to add it?
sl1pm4t commented
Hi @simonkarman - it's unlikely I'll have time to add such a feature, but happy to receive PRs. Thanks!