#account #accounting #transaction #balance #analyze #register #money

bin+lib accounts-cli

A cli to register and analyze monetary transactions

1 unstable release

0.1.0 Aug 1, 2024

#160 in Finance

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

~13–26MB
~363K SLoC