Expense Tracker is a CLI tool for tracking expenses. It allows you to add, list, delete, and summarize expenses.
- Add new expenses
- List all expenses
- Delete an expense by ID
- Summarize expenses by month
- Clone the repository:
git clone https://github.com/giftade/expense_tracker
- Navigate to the project directory:
cd expense-tracker
- Install dependencies:
go mod tidy
To add a new expense, use the AddExpenses
command:
go run main.go add --description "Description" --amount 100.50
To list all expenses, use the ListExpenses command:
go run main.go list
To delete an expense by ID, use the DeleteExpense command:
go run main.go delete --id 1
To summarize expenses by month, use the ExpenseSummary command:
go run main.go summary --month 1
Contributions are welcome! Please open an issue or submit a pull request for any changes.