Welcome to Nus Expenses Tracker(NET). NET is an app for managing expenses, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI).
java -jar [TIC4001-4][NUSExpensesTracker].jar
to open up the application.help
in the command box and press Enter
to execute it.Help
: Lists the commands the user can use to interact with the application.
Add
: Add Transactions with optional date/time or category.
Update
: Update a transaction’s attributes, description, amount or category.
Total
: Display the sum total spent from all transactions.
Delete
: Delete transactions a specified transaction.
View
: View transactions that have been added.
Search
: Find transactions using a specified keyword.
Add Budget
: Add a Budget with optional date/time.
View Budget
: View all budgets that have been added.
Generate Report
: Export data into an Excel file (.xlsx) containing a summary of transactions with an optional specified time period.
Exit
: Exit NUSExpenses Tracker
Format: help
Example: help
Output:
—————————————————
add: Adds a transaction to the NUS Expenses Tracker.
Parameters: DESCRIPTION $AMOUNT DATE
Example: add Lunch at Com2 $4.50 14-Oct-2020
—————————————————
Format: add
Example: add lime juice $1.80 10 Oct 2020
Output:
---------------------------------------------------
New transaction added
---------------------------------------------------
Format: update
Example: update 1 /u dinner /d 2020-09-24 /a $5.0 /c FOOD
Output:
---------------------------------------------------
Transaction updated
---------------------------------------------------
Format: total
Example: total
Output:
Format: delete {index number} - The index must be a positive integer 1, 2, 3,(…)
Example: delete 1
Output:
—————————————————
Transaction deleted.
—————————————————
Format 1: view {category}
Format 2: view /sd {date} /ed {date}
Format 3: view /sd {date}
Format 4: view /ed {date}
Example 1: view MISC
Output:
Description: lunch Amount: $3.0 Category: MISC
Description: dinner Amount: $4.0 Date: 2020-09-09 Category: MISC
—————————————————
Displaying Category: MISC
Above are all transaction entered
—————————————————
Example 2: view /sd 2020-09-08 /ed 2020-09-10
Output:
Description: dinner Amount: $4.0 Date: 2020-09-09 Category: MISC
—————————————————
Displaying : 2020-09-08 - 2020-09-10
Above are all transaction entered
—————————————————
Example 3: view /sd 2020-09-08
Output:
Description: dinner Amount: $4.0 Date: 2020-09-09 Category: MISC
—————————————————
Displaying : Every transaction after - 2020-09-08
Above are all transaction entered
—————————————————
Example 4: view /ed 2020-09-10
Output:
Description: dinner Amount: $4.0 Date: 2020-09-09 Category: MISC
—————————————————
Displaying : Every transaction before - 2020-09-10
Above are all transaction entered
—————————————————
Format: search {keyword}
Example: search dinner
Output:
Format: budgetadd {category} {/description} {amount}
Example: budgetadd daily /FOOD $20.00
Output:
—————————————————
New Budget has been added.
—————————————————
Format: budgetview
Example: budgetview
Output:
CATEGORY: DAILY || DESCRIPTION: FOOD || Budget : $50.0
Current Spending TODAY for CATEGORY FOOD is $5.0
You expenses is on track. Good Job!
—————————————————
Above are all budgets entered.
—————————————————
Format: report /sd
Example 1: report /sd 2020-09-28 /ed 2020-09-30
Example 2: report
Output:
---------------------------------------------------
Report exported successfully.
---------------------------------------------------
Saving of the data is done automatically after each command. It will be saved into the
expenses/mytransactions.txt is the directory where you can find the list of transactions saved.
Having trouble with executing the program? Contact the team here and We’ll help you sort it out.