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

idea: Tool to manipulate Beancount ledgers #42

Open
dnicolodi opened this issue Feb 19, 2021 · 4 comments
Open

idea: Tool to manipulate Beancount ledgers #42

dnicolodi opened this issue Feb 19, 2021 · 4 comments

Comments

@dnicolodi
Copy link
Collaborator

We already discussed a bean-insert command to insert transactions (or better directives) replacing a marker in an existing ledger. I think that a bean-sort command that sorts entries in different ways would also be useful (for example, it would be a solution for #10). Each tool is really just a few lines of code and I don't want to have an unbound proliferation of little command line utilities.

What about introducing a "Beancount Swiss army knife" command line tool that has commands for all these operations? Where should it live? In the beancount or in the beangulp repository? How should it be named? I like bean-slice but I don't think there will ever be a slicing command and bean-slice sort and bean-slice insert do not seem very natural. Better ideas?

@dnicolodi
Copy link
Collaborator Author

More naming ideas. The obvious: bean-tool or bean-tools. Maybe simply beangulp or bean-gulp? bean-gulp sort or bean-gulp insert do not seems too bad. The short: beans. I like beans sort and beans insert but we break the tradition of naming the commands bean-something and it may collide with something else. My favorite is bean-gadget.

@blais
Copy link
Member

blais commented Feb 19, 2021 via email

@dnicolodi
Copy link
Collaborator Author

I don't know what other tools could be generally useful beyond a sorting tool and a insert tool as we discussed.

I think a good criterion would be to distinguish tools that modify the ledger from tools that do not. I think bean-gadget could be the place for tools that modify the ledger and bean-doctor for tools that query the ledger.

@blais
Copy link
Member

blais commented Feb 20, 2021

This is a useful distinction, I like it.
I like the name bean-gadget too.

@dnicolodi dnicolodi changed the title idea: Tool to manipulate Benacount ledgers idea: Tool to manipulate Beancount ledgers Mar 3, 2021
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