Skip to content
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

Output result to stdout instead of file when setting values #63

Open
joonvena opened this issue Nov 5, 2021 · 1 comment
Open

Output result to stdout instead of file when setting values #63

joonvena opened this issue Nov 5, 2021 · 1 comment

Comments

@joonvena
Copy link

joonvena commented Nov 5, 2021

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

@jgoldschrafe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants