mercari/hcledit

Output result to stdout instead of file when setting values

Opened this issue · 1 comments

Would be nice to have an option to output the changes to stdout instead of overwriting the file with the changes.

I'm not related to the project, but you can render the AST out using editor.Bytes() and do whatever you want with the bytes: output to stdout, diff against the original version, etc.