Open joonvena opened 2 years ago
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.
editor.Bytes()
Would be nice to have an option to output the changes to stdout instead of overwriting the file with the changes.