accounts-cli

Crates.ioaccounts-cli
lib.rsaccounts-cli
version0.1.0
sourcesrc
created_at2024-08-01 18:03:47.840613
updated_at2024-08-01 18:03:47.840613
descriptionA cli to register and analyze monetary transactions
homepagehttps://github.com/ltabis/accounts-cli
repositoryhttps://github.com/ltabis/accounts-cli
max_upload_size
id1322327
size83,499
Lucas Tabis (ltabis)

documentation

https://docs.rs/

README

accounts-cli

A cli tool to register and analyze transactions.

Why ?

I wanted a tool that I could use to manage my own accounting using a simple text format.

How to use

# Create a new account.
accounting new --name main --currency EUR

# Record an income.
accounting --accounts ~/my-accounts income --account main \
 --amount "2000" --description "Salary" --tags=job

# Record an expense.
accounting --accounts ~/my-accounts spend --account main \
 --amount "15" --description "Train tickets" --tags=transport

# Display the overall balance of all your accounts.
accounting --accounts ~/my-accounts balance

Rhai integration

Rhai scripts can be used to customize how the program computes the balance of accounts. They can be useful to, for example, convert the balance of an account into another currency, or aggregate multiple balances together. See the example folder for more details.

Commit count: 0

cargo fmt