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

Enter transactions from CLI #35

Open
xeruf opened this issue Jan 23, 2021 · 4 comments
Open

Enter transactions from CLI #35

xeruf opened this issue Jan 23, 2021 · 4 comments

Comments

@xeruf
Copy link

xeruf commented Jan 23, 2021

Before diving into the Readme, I thought this tool would allow me to record spendings from the command-line, something like
transity transaction --to anna --amount 300€ accounting.yaml (with --from being inferred to my default account)

Did I miss something in the Readme or have I misunderstood the purpose of this tool?

@ad-si
Copy link
Owner

ad-si commented Jan 23, 2021

The idea behind plaintext accounting is, that a text editor is an incredible powerful and efficient tool to enter data. So it's much easier to just enter your data with your text editor of choice into a journal.yaml file, then to have a GUI, or TUI, or CLI prompt to enter the data. You use Transity only for analysis and verification of the transactions. Checkout the online demo at https://www.feram.io/transity/ for an example what the journal file must look like. Does this answer your question?

@ad-si
Copy link
Owner

ad-si commented Jan 23, 2021

That said, I might at a CLI command to add transactions as you described in the future to simplify automated usage of the tool …

@xeruf
Copy link
Author

xeruf commented Jan 23, 2021

I think this could be clearer by changing the GitHub about blurb from "Keep track of your ..." to "Analyze ..." or something like that, if you know what I mean?

But yes, I do understand that. I already use Emacs and Neovim and am on the lookout for something simple to track e.g. money I've lent someone or some expenses by category. Maybe plain org mode will do, maybe a plugin, maybe a CLI tool, I'm still not quite sure.

It would be nice to add an example of how one is supposed to create/generate the YAML file for this tool: write it by hand? copy-paste? editor plugin?
I mean, it is quite verbose and repetitious after all - especially as I have now also looked at the ledger format, which seems rather handy in comparison.

@ad-si
Copy link
Owner

ad-si commented Jan 25, 2021

I think this could be clearer by changing the GitHub about blurb from "Keep track of your ..." to "Analyze ..." or something like that, if you know what I mean?

Mh, interesting thought. I think this would go with a little overhaul of the landing page to make it more beginner friendly for non-plaintext-accouting people.

But yes, I do understand that. I already use Emacs and Neovim and am on the lookout for something simple to track e.g. money I've lent someone or some expenses by category. Maybe plain org mode will do, maybe a plugin, maybe a CLI tool, I'm still not quite sure.
It would be nice to add an example of how one is supposed to create/generate the YAML file for this tool: write it by hand? copy-paste? editor plugin?

Yeah, it's a combined write-by-hand and copy-paste kind of thing 😅. Will add it to the documentation. (#36)

I mean, it is quite verbose and repetitious after all - especially as I have now also looked at the ledger format, which seems rather handy in comparison.

I prefer verbose and repetitious but well known and defined standard format with parsers in basically every format (YAML) over short, but not well defined and only parseable with the original tool.

If that tradeoff is not important for you (and the other unique features listed in the readme), you should probably go with https://hledger.org. It has lots of features, is stable, and has a large ecosystem with plugins and addons.

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