-
Notifications
You must be signed in to change notification settings - Fork 0
/
exampleUsage.input
71 lines (58 loc) · 2.63 KB
/
exampleUsage.input
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
./pyMoney.py category tree
# set up accounts
./pyMoney.py category add All Expenses
./pyMoney.py category add Expenses Misc
./pyMoney.py category add Expenses GoingOut
./pyMoney.py category add Expenses DailyLife
./pyMoney.py category add All Assets
./pyMoney.py category add Assets Bank
./pyMoney.py category add Assets Cash
./pyMoney.py category add All Income
./pyMoney.py category add Income Wages
./pyMoney.py category add All Liabilities
./pyMoney.py category add Liabilities VISA
./pyMoney.py category add All Equity
./pyMoney.py category add Equity OpeningBalance
# print the category tree
./pyMoney.py category tree
# set up initial balance for assets and liabilities
./pyMoney.py transaction add 2015-12-31 OpeningBalance Bank 2000.00
./pyMoney.py transaction add 2015-12-31 OpeningBalance Cash 120.00
./pyMoney.py transaction add 2015-12-31 VISA OpeningBalance 34.40
# sum up all transations to show current asset and liability balance
./pyMoney.py summary categories --category Assets
./pyMoney.py summary categories --category Liabilities
# add some transactions
./pyMoney.py transaction add 2016-01-01 Wages Bank 1500 "Wages"
./pyMoney.py transaction add 2016-01-01 Bank Cash 100 "EC Money"
./pyMoney.py transaction add 2016-01-03 Bank VISA 34.40 "Pay credit card debts"
./pyMoney.py transaction add 2016-01-05 Cash DailyLife 30 "Food"
./pyMoney.py transaction add 2016-01-10 Bank Misc 14.99 "Favorite DVD"
./pyMoney.py transaction add 2016-01-10 VISA GoingOut 45.00 "Visiting concert of favorite band"
# for each category list the sum of transactions that happened during january 2016
./pyMoney.py summary categories 2016 01
# show monthly difference of the Bank account
./pyMoney.py summary monthly Bank
# show monthly balance of the Bank account
./pyMoney.py summary monthly Bank --balance
# list all transactions from january 2016
./pyMoney.py transaction list 2016 01
# list all transactions that affected the Cash account from january 2016
./pyMoney.py transaction list 2016 01 --category Cash
# sum up all transactions to show current asset and liability balances
./pyMoney.py summary categories --category Assets
./pyMoney.py summary categories --category Liabilities
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py transaction delete 0
./pyMoney.py category delete Expenses
./pyMoney.py category delete Assets
./pyMoney.py category delete Income
./pyMoney.py category delete Liabilities
./pyMoney.py category delete Equity