NetConnect is a desktop app for managing contacts in SMEs, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). It enables HR and relations managers to efficiently manage their employees, clients, as well as suppliers, all in one place ☝🏻.
The inspiration behind NetConnect lies in solving a specific set of challenges faced by the food business managers demographic. Specifically, we aim to address the challenge of managing various contact types: clients, suppliers, and employees.
If you relate to this problem we identified, then NetConnect might be just right for you. This user guide will accompany you in maximising the capabilities of this product, freeing time for more pressing issues.
help
add
delete
list
edit
find
clear
relate
unrelate
showrelated
export
exit
Ensure you have Java 11
or above installed in your Computer.
Download the latest netconnect.jar
from here.
Copy the file to the folder you want to use as the home folder for your NetConnect.
Open a command terminal, cd
into the folder you put the jar file in, and use the java -jar netconnect.jar
command
to run the application.
A GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.
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.
Refer to the Features below for details of each command.
Notes about the command format:
Words in UPPER_CASE
are the parameters to be supplied by the user.
e.g. in add n/NAME
, NAME
is a parameter which can be used as add n/John Doe
.
Items in square brackets are optional.
e.g. n/NAME [t/TAG]
can be used as n/John Doe t/friend
or as n/John Doe
.
Items with …
after them can be used multiple times including zero times.
e.g. [t/TAG]…
can be used as (i.e. 0 times),
t/friend
, t/friend t/family
etc.
Parameters can be in any order.
e.g. if the command specifies n/NAME p/PHONE_NUMBER
, p/PHONE_NUMBER n/NAME
is also acceptable.
Extraneous parameters for commands that do not take in parameters (such as help
, list
, exit
and clear
) will be ignored.
e.g. if the command specifies help 123
, it will be interpreted as help
.
If you are using a PDF version of this document, be careful when copying and pasting commands that span multiple lines as space characters surrounding line-breaks may be omitted when copied over to the application.
Constraints: Here are the constraints for each field in the application:
NAME
: Names should only contain alphanumeric characters and spaces, and it should not be blank.PHONE_NUMBER
: Phone numbers should only contain numbers, and it should be at least 3 digits long to accommodate staff extensions.EMAIL
: Emails should be of the format local-part@domain
. NetConnect does not check for the validity of the domain part, hence extra attention should be put into ensuring no typos are present in the domain part of the email.ADDRESS
: Addresses can take any format, and it should not be blank.ROLE
: Roles can only be client
, supplier
, or employee
.REMARK
: Remark can take any format.TAG
: Tags should only contain alphanumeric characters and spaces.DEPARTMENT
: Department names should only contain alphanumeric characters and spaces.JOB
: Job titles should only contain alphanumeric characters and spaces.SKILLS
: Skills should only contain alphanumeric characters and spaces.PREFERENCES
: Preferences can take any format.TERMS OF SERVICE
: Terms of service can take any format.PRODUCTS
: Product names should only contain alphanumeric characters and spaces.help
Shows a message explaining how to access the help page.
Format: help
add
Adds a person (Client, Supplier or Employee) to the address book. Note that each role (e.g. Client, Supplier, Employee) has its own specific set of fields that can be added. The input for all fields should adhere to the Data Constraints.
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/ROLE [r/remark] [t/TAG]…
(other fields specific to the role)
Client:
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Client [r/remark] [t/TAG]... [pref/PREFERENCES] [prod/PRODUCT]...
Example: add n/Benson Mayer p/87728933 e/mayerb@example.com a/311, Clementi Ave 2, #02-25 role/Client pref/Dairy-free prod/Sourdough bread prod/Raisin Bread
Employee:
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Employee [r/remark] [t/TAG]... [dept/DEPARTMENT] [job/JOBTITLE] [skills/SKILL]...
Example: add n/Bob Ye p/8928732 e/boby@example.com a/Blk 11, Clementi Ave 1, #03-32 t/friends t/coreTeam r/requires follow up on pay raise role/employee dept/HR job/Manager skills/Java
Supplier:
Format: add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Supplier [r/remark] [t/TAG]... [tos/TERMS OF SERVICE] [prod/PRODUCT]...
Example: add n/Fiona Kunz p/94824272 e/lydia@example.com a/little tokyo role/Supplier tos/Delivery within 2 weeks prod/Office Supplies prod/Furniture
delete
Deletes the specified person from the address book.
Format: delete [n/NAME] [i/ID]
NAME
or ID
.NAME
, ID
has to be used.ID
refers to the unique identification number assigned to each person when first added to the list.ID
must refer to a person that exist within NetConnect.NAME
.Examples:
delete n/Benson Mayer
deletes the person with the name Benson Mayer (if no one else have the same name).delete i/2
deletes the person with an ID of 2 in the address book.
list
Shows a list of all contacts in the address book.
edit
Edits an existing person in the address book.
Format: edit i/ID [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [r/remark] [t/TAG]…
(other fields specific to the role)
ID
. ID
refers to the unique identification number assigned to each person when first added to the list.ID
must refer to a person that exist within NetConnect.[..]
must be provided.edit i/6 t/
will clear all the tags in contact ID 6.Please refer to the Data Constraints for valid input.
Examples:
edit i/4 p/91234567 e/johndoe@example.com
Edits the phone number and email address of the person with ID of 1 to be 91234567
and johndoe@example.com
respectively.
edit i/2 n/Betsy Crower t/
Edits the name of the person with ID of 2 to be Betsy Crower
and clears all existing tags.find
Finds persons whose information matches any of the specified parameters. You can find persons by names, phone numbers, tags, roles, and remarks. To search via different fields, you can stack multiple find
-type commands to narrow down your search.
Format: find [n/NAME]... [t/TAG]... [p/PHONE_NUMBER]... [role/ROLE]... [r/REMARK]...
find
command.find n/alex n/david
will show all persons with either alex
or david
in their names.list
is required to remove the stacked filters.hans
will match Hans
.Ha
will match Hans
.find r/marketing
will match r/marketing IC
, find r/has dog
will match r/he has a dog
, find r/market
will not match r/marketing
.find r/has cute dog
will not match r/he has a dog
.find r/dog has
will match r/he has a dog
.find r/
will search for contacts with an empty remark.83647382
or 8364
will not match 83641001
, find t/fri
will not match contacts with tag friends
, find role/clie
will not match contacts with role client
.Find by name example:
find n/John
returns john
and John Doe
.find n/megan n/roy
returns Megan Lim
, Megan Ho
,Ng Royton
, Roy Chua
.Find by tag example:
find t/friends
returns all persons who have the tag friends
.Find by phone number example:
find p/98765432
returns John Doe
who has the phone number 98765432
.Find by role example:
find role/client
returns all persons who have the role client
.find role/supplier role/client
returns all persons who have the role supplier
or client
.Find by remark example:
find r/
returns all persons who have an empty remark.find r/has a dog
returns all persons who have the remark containing all these words ['has', 'a', 'dog']Stacking find by role and tag example
find role/Employee
returns all persons who have the role Employee
.
Followed by find t/friends
, returns all persons who are Employee
and have the tag friends
.
clear
Clears all entries from the address book.
Format: clear
relate
Creates a relation between two profiles in the address book.
Format: relate i/ID i/ID
Example: relate i/1 i/3
creates a relation between the profiles with ID of 1 and 3.
unrelate
Removes a relation between two profiles in the address book.
Format: unrelate i/ID i/ID
Example: unrelate i/1 i/23
removes a relation between the profiles with ID of 1 and 3.
showrelated
Shows all the relations associated to a person in the address book.
Format: showrelated i/ID
Example: showrelated i/1
shows all relations between the profile with ID 1 and all other contacts.
With every change to the command input, NetConnect saves and updates the command input in a separate file. When the app closes and is opened again, the last command present before closure will be retrieved from the separate file and input into the command field (if any). This way, you never have to worry about losing progress!
export
Retrieve information on a group of profiles at once with this function! This can be useful for consolidating all the emails or contact number at once, or to share information with third parties.
To export all profiles in the address book to a CSV file:
Format:
Step 1: list
Step 2: export [filename]
list
command in the first step is to pull all profiles into the current view.export
in Step 2, you can choose the filename to save the file as. The filename must end with .csv
. If you do not specify a filename, it will be automatically named as contact.csv
Example:
Step 1: list
first returns the list of all contacts
Step 2: export
a CSV file containing all contacts to a folder on your laptop that is located within the same directory as the NetConnect application.
To export a specific group of profiles to a CSV file:
Format:
Step 1: find [keyword]
Step 2: export [filename]
Example:
Step 1: find role/Client
Step 2:
export client.csv
The CSV file named clients.csv containing all client contacts is exported to a folder on your laptop located within the same directory as the NetConnect application.
exit
Exits the program.
Format: exit
NetConnect data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
NetConnect data are saved automatically as a JSON file [JAR file location]/data/netconnect.json
. Advanced users are welcome to update data directly by editing that data file.
Caution:
If your changes to the data file makes its format invalid, NetConnect will discard all data and start with an empty data file at the next run. Hence, it is recommended to take a backup of the file before editing it.
Furthermore, certain edits can cause the NetConnect to behave in unexpected ways (e.g., if a value entered is outside the acceptable range). Therefore, edit the data file only if you are confident that you can update it correctly.
The NetConnect team is working on new features and fixes for you, but they are unfortunately unavailable in this current implementation. We intend to have future fixes for these occurences below!
showrelated
commandrelate
and unrelate
commandsrelate
and unrelate
commandsedit
commandFurther details on the planned enhancements can be found in the Developer Guide.
Q: How do 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 NetConnect home folder.
Q: How do I know if Java 11 is already installed on my computer?
A: Open the Command Prompt (Windows) or the Terminal (MacOS) and run the java -version
command. The output should contain Java 11 if it is installed.
Q: What if I have newer versions of Java already installed on my computer?
A: You will still need Java 11 to run NetConnect, though multiple versions should be fine. You may check this using the java -version
command. The output should contain Java 11 if it is installed.
Q: What operating systems can I use NetConnect on? A: NetConnect can be run on Linux, Windows, and macOS, provided that Java 11 is installed.
Q: Do I require the internet to run the application? A: No, you do not need the internet to access our application or its features.
preferences.json
file created by the application before running the application again.Action | Format | Examples |
---|---|---|
Help | help | help |
Add (Employee) | add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Employee [r/REMARK] [t/TAG]... [dept/DEPARTMENT] [job/JOBTITLE] [skills/SKILL]... | add n/Bob Ye p/8928732 e/boby@example.com a/Blk 11, Clementi Ave 1, #03-32 t/friends t/coreTeam r/requires follow up on pay raise role/employee dept/HR job/Manager skills/Java |
Add (Client) | add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Client [r/REMARK] [t/TAG]... [pref/PREFERENCES] [prod/PRODUCT]... | add n/Benson Mayer p/87728933 e/mayerb@example.com a/311, Clementi Ave 2, #02-25 role/Client pref/Dairy-free prod/Sourdough bread prod/Raisin Bread |
Add (Supplier) | add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS role/Supplier [r/REMARK] [t/TAG].. [tos/TERMS OF SERVICE] [prod/PRODUCT]... | add n/Fiona Kunz p/94824272 e/lydia@example.com a/little tokyo role/Supplier tos/Delivery within 2 weeks prod/Office Supplies prod/Furniture |
List | list | list |
Delete | delete [i/ID] [n/NAME] | delete i/123 , delete n/John Doe |
Edit | edit i/ID [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [r/REMARK] [t/TAG]… (other fields specific to the role) | edit i/123 n/James Lee e/jameslee@example.com |
Find | find [n/NAME] [t/TAG] [p/PHONE_NUMBER] [role/ROLE] [r/REMARK] | find role/employee , followed by find n/Bob to stack filters |
Relate Profiles | relate i/ID i/ID | relate i/1 i/2 |
Unrelate Profiles | unrelate i/ID i/ID | unrelate i/1 i/2 |
Show related Profile | showrelated i/ID | showrelated i/2 |
Export | export [filename] | export ClientInfo.csv |
Clear | clear | clear |
Exit | exit | exit |