@pedrocxz_/expense-tracker
v1.0.0
Published
Expense Tracker is a simple command line application for managing your personal finances. It allows you to add, delete and view your expenses, as well as providing detailed summaries. This app is a practical way to track and manage your finances efficient
Readme
Expense Tracker
Expense Tracker is a simple command line application for managing your personal finances. It allows you to add, delete and view your expenses, as well as providing detailed summaries. This app is a practical way to track and manage your finances efficiently.
Features
Add Expense: Register a new expense with description and value.
Delete Expense: Remove a recorded expense
View Expenses: See all recorded expenses.
Expense Summary: Removal Displays the total expenses recorded.
Monthly Summary: Removal Displays the total expenses recorded.
Getting Started
npm install
To add an expense with a description and value, use the following command:
$ expense-tracker add --description "Lunch" --amount 20
Expected answer:
Expense added successfully
To list all recorded expenses:
$ expense-tracker list
Expected answer:

$ expense-tracker summary
Expected answer:
Total expenses: $30
To delete an expense, use the following command with the expense ID:
$ expense-tracker delete --id 2
Expected answer:
To see a summary of expenses for a specific month (of the current year):
$ expense-tracker summary --month 8
Expected answer:
Total expenses for August: $20
