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

[#309] Write beancount files to disk before formatting #310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

John-Goff
Copy link

Fixes #309

The bean-format tool reads a file from the filename passed on the command line, then outputs the formatted file to STDOUT. The filename passed on the command line is a requirement, the bean-format tool does not read from STDIN at all. Another option would be to use ("bean-format" input "-o" output), but this way apheleia can avoid an extra file read that's not strictly necessary.

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

Successfully merging this pull request may close these issues.

bean-format fails to format a beancount file
1 participant