A CLI app made in Go to Track your Expenses. This Project is a part of Practice projects for Beginners on roadmap.sh.
-
Add expenses with a description and amount
-
Delete expenses by ID
-
List all expenses
-
Show a summary of total Expenses
-
Show summary of total Expenses by Month
- Go (version 1.25 or later)
-
Clone the repository:
https://github.com/RealAzemed/Expenses-Tracker
-
Build it:
go build main.go
-
Run:
./main
You can use the following commands to manage your expenses:
- Add an expense:
main.go add --description "Lunch" --amount 20- List all expenses:
main.go list- Show total expenses:
main.go summary- Show total expenses by month:
main.go summary --month 8- Delete an expense by ID:
main.go delete --id 1