layout | title |
---|---|
page |
User Guide |
Expense Expert is a desktop app for keeping track of your expenses, and managing your budget, optimized for use via a Command Line Interface (CLI) enhanced with a light-weight Graphical User Interface (GUI). If you can type fast, Expense Expert can get your expense management done faster than traditional GUI apps.
- Quick Start
- Breakdown of the UI
- Features
- Commands
- Viewing help:
help
- Adding an expense:
add
- Deleting an expense:
delete
- Editing an expense:
edit
- Listing all expenses:
list
- Filtering expense(s):
filter
- Finding expense(s):
find
- Setting a monthly budget:
budget
- Adding an Expense Category:
addCat
- Listing all Expense Categories:
listCat
- Adding a person who owes you money:
person
- Removing a person who has paid the owed money:
paid
- Updating the amount a person owes you:
update
- Clearing the program data:
clear
- Exiting the program:
exit
- Viewing help:
- Storage
- Commands
- FAQ
- Command summary
-
Ensure you have Java
11
or above installed in your Computer. -
Download the latest
expenseexpert.jar
from here. -
Copy the file to the folder you want to use as the home folder for your Expense Expert.
-
Double-click the file to start the app. The GUI similar to the below should appear in a few seconds.
-
The data used here is for demonstration purposes. When you launch ExpenseExpert for the first time, it is not preloaded with any data.
-
Set up your intended budget by using the
budget
command. -
Type the command in the command box and press Enter to execute it. e.g. typing
help
and pressing Enter will open the help window.
Some example commands you can try:-
budget
a/100
: Sets a budget of $100 for the month. -
list
: Lists all the expenses you have recorded. -
add
d/Lunch at VivoCity a/12.95 c/Food t/2022-03-12
: Adds a new expense of a/12.95 for Lunch at Vivocity to your list of expenses -
delete
3
: Deletes the 3rd expense shown in the expense list. -
exit
: Exits the app.
-
-
Refer to the Features below for details of each command.
- Menu Bar: Facilitate quick access to the help window. Quiting of the application can also be done through the file drop-down option.
- Command Box: Allows the user to input commands.
- Budget Display Box: Displays the remaining budget.
- Result Box: Displays the results of the command that the user parsed.
- Expense List: List of expenses (can be all the expenses or filtered list if command had been passed).
- Person List: List of people who owe the user the said sum of money.
Notes about the command format:
-
Words in
UPPER_CASE
are the parameters to be supplied by the user.
e.g. ind/DESCRIPTION
,DESCRIPTION
is a parameter which can be used asd/Dinner at ECP
. -
Items in square brackets are optional.
e.gd/DESCRIPTION [c/CATEGORY]
can be used asd/Dinner at ECP c/Food
or asd/Dinner at ECP
. -
Items in brackets means at least one of the components must be present.
-
e.g.
(ft/DATE) (c/CATEGORY)
can be used asft/2022-03
,ft/2022-03 c/Transport
orc/Transport
. -
Parameters can be in any order.
e.g. if the command specifiesd/DESCRIPTION a/AMOUNT
,a/AMOUNT d/DESCRIPTION
is also acceptable. -
If a parameter is expected only once in the command but is instead specified multiple times, only the last occurrence of the parameter will be taken.
e.g. if you specifya/12.99 a/13.50
, onlya/13.50
will be taken. -
Extraneous parameters for commands that do not take in parameters (such as
help
,list
andexit
) will be ignored.
e.g. if the command specifieshelp 123
, it will be interpreted ashelp
.
Shows a help window explaining how to use each command, with a link to the user guide. It can also show the usage of a particular command.
Format: help [COMMAND_NAME]
Adds an expense to the list. Description and expense category provided must be in alphanumerical format, amount can only be positive number up to 2 decimal places
and expense date must be in yyyy-MM-dd format. Description must be unique and different from all other expenses in Expense Expert. Expense category must be from a list of user-defined categories. If Expense category is undefined, it will default to the General
Expense Category.
Format: add d/DESCRIPTION a/AMOUNT [c/EXPENSE_CATEGORY] t/EXPENSE_DATE
Examples:
add d/Dinner at Astons a/35 c/Food t/2022-03-22
add d/Groceries t/2022-03-23 a/50
This is the result of executing the command(s) above:
Deletes the expense specified by the index from the list. Run list
before executing the command to identify the index of the expense.
Format: delete INDEX
Examples:
delete 1
This is the result of executing the command(s) above:
Edits an existing expense in the list. You need to specify the index of the expense from the list and only the syntax of the fields you want to change together
with the value you want to change to. You can specify one or more fields. Run list
before executing the command to identify the index of the expense.
Format: edit INDEX (d/DESCRIPTION) (a/AMOUNT) (c/EXPENSE_CATEGORY) (t/EXPENSE_DATE)
Examples:
edit 1 a/40
edit 2 d/Groceries from Fairprice a/80
This is the result of executing the command(s) above:
Shows a list of all expenses recorded in Expense Expert.
Format: list
This is the result of executing the command(s) above:
Filters the expenses with the date or category provided. At least one of the fields in brackets need to be present. Date format must be provided in yyyy-MM-dd format or in yyyy-MM format. If date provided is in yyyy-MM format, the displayed will include all the results of that month.
Format: filter (ft/DATE) (c/CATEGORY)
Examples:
filter ft/2022-03-12
filter ft/2022-03
filter c/Transport
filter ft/2022-03 c/Transport
The expense list before executing the filter
command looked as follows:
Result of executingfilter ft/2022-03
is shown below:
Disclaimer : result may vary depending upon the existing data in ExpenseExpert.
Finds expense(s) with the stated keyword(s) in descriptors. If more than one keyword is provided, returns list of expenses with expense description that matches any of the keywords provided.
Format: find KEYWORD [MORE_KEYWORDS]
Examples:
find Cafe
find Cafe Grab
The expense list before executing the find
command looked as follows:
Result of executing find Cafe
is shown below:
Disclaimer : result may vary depending upon the existing data in ExpenseExpert.
Sets a budget for the month.
The add
, delete
and edit
command affect the monthly budget to reflect the user's remaining budget.
However, due to an incomplete implementation of the budget, transaction for every month are reflected in the current month's budget.
This is going to be rectified in the future iterations.
Format: budget a/AMOUNT
Examples:
budget a/500
This is the result of executing the command(s) above:
Adds a user-defined expense category which can be used to categorise expenses.
Format: addCat c/EXPENSE_CATEGORY
Examples:
addCat c/transport
This is the result of executing the command(s) above:
Shows a list of all expense categories recorded in Expense Expert.
Format: listCat
This is the result of executing the command(s) above:
The Following three commands facilitate the feature of managing the list of persons who owe you money.
This sections of commands does not make a difference to the budget set by the user, since the budget is only meant to keep track of the expenses, and the amount of money lent out does not have any role to play in it.
Adds a person with the name who owes you the specific amount.
Format: person n/PERSON_NAME a/PERSON_AMOUNT
Examples:
person n/Alex a/100
This is the result of executing the command(s) above:
Removes a person at the index who has paid all the money they have owed.
Format: paid INDEX
Examples:
paid 1
This is the result of executing the command(s) above:
Updates the amount owed by a person at the index in the list to the amount parsed.
Format: update INDEX a/AMOUNT
Examples:
update 4 a/1000
This is the result of executing the command(s) above:
Deletes all data from Expense Expert.
Format: clear
This is the result of executing the command(s) above:
Exits the program.
Format: exit
Expense Expert data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
Expense Expert data are saved as a JSON file [JAR file location]/data/expenseexpert.json
. Advanced users are welcome to update data directly by editing that data file.
Q: How can I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous Expense Expert home folder.
Q: Can I archive the data files?
A: At the moment, the application doesn't support archiving. It will be available in v2.0.
Action | Format, Examples |
---|---|
Getting help | help |
Adding an expense | add d/DESCRIPTION a/AMOUNT [c/EXPENSE_CATEGORY] t/EXPENSE_DATE Example: add d/Lunch at VivoCity a/12.95 c/Food t/2022-03-20 |
Deleting an expense | delete INDEX Example: delete 3 |
Editing an expense | edit INDEX (d/DESCRIPTION) (a/AMOUNT) (c/EXPENSE_CATEGORY) (t/EXPENSE_DATE) Example: edit 2 d/Lunch at Harbourfront Centre a/6.50 |
Listing all expenses | list |
Filtering expense(s) | filter (ft/FILTER_DATE) (c/CATEGORY) Example: filter ft/2022-03 c/Transport |
Finding expense(s) | find KEYWORD [MORE_KEYWORDS] Example: find Cafe Grab Basketball |
Setting a monthly budget | budget a/AMOUNT Example: budget a/1000 |
Adding an expense category | addCat c/EXPENSE_CATEGORY Example: addCat c/transport |
Listing all expense category | listCat |
Adding a person who owes you money | person n/PERSON_NAME a/PERSON_AMOUNT Example: person n/Alex a/50 |
Removing a person who paid the owed money | paid INDEX Example: paid 1 |
Updating the amount a person owes you | update INDEX a/AMOUNT Example: update 4 a/200 |
Clearing the program data | clear |
Exiting the program | exit |