aboutsummaryrefslogtreecommitdiff
path: root/ledger.py
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.py')
-rwxr-xr-xledger.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ledger.py b/ledger.py
index 0e1e166..a418e65 100755
--- a/ledger.py
+++ b/ledger.py
@@ -3,6 +3,7 @@ from utils.args import get_arguments, test_args
from utils.read_file import read_ledger
from utils.register import print_register
from utils.sort import sort_entries
+from utils.balance import print_balance
def main():
args = get_arguments()
@@ -23,6 +24,9 @@ def main():
elif args.verb in ['register', 'reg', 'r']:
print_register(result)
+ elif args.verb in ['balance', 'bal', 'b']:
+ print_balance(result)
+
if __name__ == '__main__':
main()