A command line interface for managing private expenses
in a spending and a savings account, respectively.
You can enter your balance, as well as daily goal budget.
The program will show you what you can spend and what you can save.
git clone git@github.com:asgervelling/budgeting.git
cd budgeting && tsc
chmod +x run.sh
$ ./run.sh
Usage: main [options] [command]
Options:
-h, --help display help for command
Commands:
balance <amount> Enter your current balance
budget [options] See your budget for today
goal <amount> Set your daily goal budget
help [command] display help for command
$ ./run.sh balance 3456.78
Balance: 3456.78.
$ ./run.sh goal 80
Daily goal budget: 80.
$ ./run.sh budget
2024-03-01
Balance: 3456.78.
Daily budget: 112 (32 more than daily goal budget of 80).
$ ./run.sh budget --date 15
2024-03-15
Balance: 3456.78.
Daily budget: 203 (123 more than daily goal budget of 80).