layout | title |
---|---|
page |
User Guide |
NUStorage is a desktop application for managing inventory, finance transactions and accounts.
NUStorage is optimised for store owners and managers who prefer to work with a command line interface (CLI) while still enjoying the visual benefits of a graphical user interface (GUI).
With some experience in typing, NUStorage can manage your inventory and finance records much faster than traditional GUI-based applications, streamlining your workflow and increasing productivity.
Interested? Read on to get started!
If you see a acronym that you don't understand, kindly refer to the glossary.
-
Ensure that you have
Java 11
or above installed on your device. -
Download the latest release of
NUStorage.jar
here. -
Copy the
.jar
file to the folder you want to use as the home folder for your application. -
Double-click on the
.jar
file to start the app. The GUI should look something like this: -
Type a command in the command box and press enter to execute.
- Here are some sample commands you can try to get started with:
list_inventory
to list inventory recordslist_finance
to list finance recordsadd_inventory i/Logitech G400 q/20 c/69
to add 20 Logitech G400 gaming mouse that cost $69 to the inventoryadd_finance amt/120.17
to add an inbound transaction of $120.17bye
to exit programme
- Refer to the commands list below for details of each command.
- Here are some sample commands you can try to get started with:
ℹ️ Notes about the command format:
- Words in
UPPER_CASE
are the parameters to be keyed-in by the user.
e.g. inadd_inventory i/ITEM
,ITEM
is a parameter which can be used asadd_inventory i/MacBook
. - Items in square brackets are optional.
e.gamt/AMOUNT [at/DATE] [TIME]
can be used as the possible formats:amt/200 at/2020-04-10 18:00
amt/200 at/2020-04-10
amt/200 at/18:00
amt/200 at/2020-04-10
amt/200
- Inputs that require date and time have specific formats. The format for the date has to be in
YYYY-MM-DD
while the format for the time has to be inHH:mm
and both are case-sensitive.
e.g.2020-01-01
will show up as01 Jan 2020
for the date while13:00
will show up as13:00
for the time in the NUStorage's response box.
This section shows the commands that can be used with NUStorage. It is divided into three sections:
- Inventory commands
- Finance account commands
- Universal commands
Accompanying the details of each command are figures that show an example of the command and the result of executing the command.
Adds and stores a new inventory record into the inventory list.
Format: add_inventory i/ITEM_NAME q/QUANTITY [c/ITEM_COST]
Example: add_inventory i/iphone q/10
to create a new inventory record of item iphone
and quantity 10
.
Result: item iphone
of quantity 10
is added to the inventory.
Removes the specified record from the inventory list.
Format: delete_inventory INDEX
Example: delete_inventory 1
to delete the inventory record at index 1
.
Result: record at index 1
is removed from the inventory list of records.
Edits the specified record in the inventory list.
Format: edit_inventory INDEX i/ITEM_NAME q/QUANTITY
Example: edit_inventory 1 i/iPad q/100
to edit the inventory record at index 1
.
Result: item name changed from iphone
to iPad
and its quantity changed from 10
to 100
.
Displays all records in the inventory list.
Format: list_inventory
Example: list_inventory
Result: inventory is listed.
Adds and stores a new finance record into the account.
Note: Date and time are default to current location's datetime unless specified
Format: add_finance amt/AMOUNT [at/DATE] [TIME]
Example: add_finance amt/30000 at/2020-03-03
to create a new finance record of amount $30000
on 3rd March 2020
Result: finance record of amount $30000
on 3rd March 2020
is added to the finance account.
Deletes the specified finance record from the account.
Format: delete_finance INDEX
Example: delete_finance 1
to delete the finance record with index 1
.
Result: record at index 1
is removed from the finance account records.
Edits the specified record in the finance account.
Format: edit_finance INDEX amt/AMOUNT [at/DATE]
Example: edit_finance 1 amt/120
to edit the finance record at 1
.
Result: finance amount changed from $100
to $120
on 1st Oct 2020
.
Displays all the finance records in the account.
Format: list_finance
Example: list_finance
Result: finance account is listed.
Saves data locally in a data file and exits the programme.
Format: exit
Example: exit
Result: Programme terminates.
[This feature is planned for v2.0]
Undo or redo the previous command
Format: undo
or redo
Example: undo
or redo
Result: Undo or redo the previous command.
Action | Format & Examples |
---|---|
Add inventory | add_inventory i/ITEM q/QUANTITY [c/ITEM_COST] e.g. add_inventory i/MacBook pro q/200 c/50 |
Delete inventory | delete_inventory INDEX e.g. delete_inventory 4 |
Edit inventory | edit_inventory INDEX i/ITEM_NAME q/QUANTITY e.g. edit_inventory 3 i/Lenovo Y50 q/10 |
List inventory | list_inventory |
Add finance | add_finance amt/AMOUNT [at/DATE] [TIME] e.g. add_finance amt/420.69 at/2020-04-23 |
Delete finance | delete_finance INDEX e.g. delete_finance 2 |
Edit finance | edit_finance INDEX amt/AMOUNT [at/DATE] [TIME] e.g. edit_finance 1 amt/120 at/2020-10-01 |
List finance | list_finance |
Exit programme | exit |
CLI
: command line interface.GUI
: graphical user interface..jar
: The file type that NUStorage is released in. This is similar to the.exe
files in Windows and.app
files in MacOS.
WARNING: doing so will overwrite the existing data you may have on the other device. Please make sure you make a backup before migrating data.
Steps to migrate data:
- Locate the data files under the directory (folder)
./data
. The data files are namesinventory.json
andfinanceAccount.json
respectively. - Copy the files to the other device.
- Place the two files under the directory
./data
. - Restart NUStorage on the other device to load the data.
Currently, NUStorage does not support the merging of data between different devices. NUStorage only supports moving of data from one device to another. Please see FAQ 6.1 regarding how to migrate data.
Modifying the storage file is possible but NOT RECOMMENDED! Doing so may result in a complete data loss.