3 All Interactive Commands
This chapter documents all the interactive commands available in Leas.
- aa
add account
- at
add transaction to current account
- ltn
list latest transactions in current account
- et X
edit transaction. X can be omitted, if it is not, display X most recent transactions instead of the default number.
- lt
list transactions in current-account.
- ea
edit account
- da
delete account
- dt
delete transaction
- la
list accounts and their balances
- lae
list expense accounts and their balances
- lai
list income accounts and their balances
- laa
list asset accounts and their balances
- lal
list liability accounts and their balances
- bt
current balances totaled by account type
- cex
current total of expense accounts
- cin
current total of income accounts
- cas
current total of asset accounts
- cli
current total of liability accounts
- cwo
current assets - liabilities
- cba
total balances
- re
list transactions in current account matching a regular expression
- sa
set current account
- ca
display current account
- w
save to file
- r
read from file
- dtr
delete transfer originating from a given account
- ltbd
print transactions between two dates
- v
display version of Leas
- sd
set current day
- cd
display current day
- baod
find the balance of the current account over several days (ex: used for seeing weekly balances for the last month)
- exod
see expenses over date range
- inod
see income over date range
- asod
see assets over date range
- liod
see liabilities over date range
- wood
see worth over date range
- ttbd
see total transactions in an account between dates, over a date range
- ttre
see total transactions in current account over a date range that match a regular expression
- pl
pay a loan, splitting payments between interest (an expense) and the principal liability
- fn
print current file name
- csp
change the price of a stock in the current account
- cal X
prints the result of the UNIX command (string-append ``cal '' X).
- t
transfer money between two accounts
- spend
Create a transfer from an asset account to an expense account
- charge
Create a transfer from a liability account to an expense account
- earn
Create a transfer from an income account to an asset account
- borrow
Create a transfer from a liability account to an asset account.
- q
quit
- p X
print X, followed by a newline, for example: p (+ 1 2) will print 3.