sl1pm4t/k2tf

Support HEREDOC for multi-line config values

nigelellis opened this issue · 3 comments

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.

Good suggestion - thanks @nigelellis.

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?

Hi @simonkarman - it's unlikely I'll have time to add such a feature, but happy to receive PRs. Thanks!