#account #analyze #transaction #balance #register #manage #amount

bin+lib accounts-cli

A cli to register and analyze monetary transactions

1 unstable release

0.1.0 Aug 1, 2024

#555 in Database interfaces

Download history 63/week @ 2024-07-26 46/week @ 2024-08-02 7/week @ 2024-08-09 3/week @ 2024-08-16

119 downloads per month

Custom license

32KB
705 lines

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.

Dependencies

~11–24MB
~360K SLoC