HitList is a desktop app for managing contacts, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, HitList can get your contact management tasks done faster than traditional GUI apps.
HitList is targeted at headhunters who need to manage a large number of contacts and companies, but it can be used by anyone who needs to manage their contacts efficiently.
17 or above installed in your Computer..jar file from here.cd into the folder you put the jar file in, and use the java -jar hitlist.jar command to run the application.help and pressing Enter will open the help window.add /n John Doe /p 98765432 : Adds a contact named John Doe to the HitList.list : Lists all contacts.delete 3 : Deletes the 3rd contact shown in the current list.clear : Deletes all contacts.exit : Exits the app.Notes about the command format:
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 Doeedit INDEX [/n NAME] [/p PHONE] can be used as edit 3 /n John Doe or as edit 3 /p 98765432/n NAME /p PHONE_NUMBER, /p PHONE_NUMBER /n NAME is also acceptablehelp, list, exit, and clear, will be ignored.
e.g. if the command specifies help 123, it will be interpreted as helphelpShows a message explaining how to access the help page.
Format: help
addAdds a contact to the HitList.
Format: add /n NAME /p PHONE_NUMBER [/e EMAIL] [/a ADDRESS]
NAME and PHONE_NUMBER parameters are mandatory.Examples:
add /n John Doe /p 98765432
add /n Betsy Crowe /p 87654321 /e betsy.crowe@gmail.com /a 321, Clementi Rd, 123465
editEdits an existing contact in the HitList.
Format: edit INDEX [/n NAME] [/p PHONE] [/e EMAIL] [/a ADDRESS]
INDEX.1, 2, 3, …Examples:
edit 1 /p 91234567 edits the phone number of the first contact to 91234567
edit 2 /n Betsy Crower edits the name of the second contact to Betsy Crower
deleteDeletes the specified contact from HitList.
Format: delete INDEX
INDEX.1, 2, 3, …Examples:
list followed by delete 2 deletes the second contact in HitList
find Irfan followed by delete 1 deletes the first contact in the results of the find command
Format delete /n CONTACT_NAME
Example:
list followed by delete /n David Li deletes the contact named David Li from HitList
listShows a list of all contacts in the HitList.
Format: list
findFinds contacts whose names match any given prefix.
Format: find [KEYWORD]...
han matches HansHan matches HansExamples:
find John returns john and John Doe
find alex david returns Alex Yeoh, David Li
grpaddAdds a contact group to the HitList.
Format: grpadd /g GROUP_NAME
Examples:
grpadd /g Admins
grpadd /g Experienced
grpdelDeletes the specified contact group from HitList.
Format: grpdel /g GROUP_NAME
Examples:
grpdel /g Admins
grpdel /g Unemployed
!NOTE Deleting a contact group does not delete the contacts in that group from HitList. It only deletes the group itself and the association of the contacts to that group. e.g. if
John Doeis in theStudentsgroup, and theStudentsgroup is deleted,John Doewill still be in HitList but will no longer be associated with any contact group.Group Names are currently case-sensitive, so
Studentsandstudentsare considered different groups. Hence, deletingstudentswill not delete theStudentsgroup.
grplistLists all the contacts who are members of a specified contact group.
Format: grplist /g GROUP_NAME
Examples:
grplist /g Students
grplist /g Experienced
grpassignAdds an existing contact to an existing contact group.
Format: grpassign /n NAME /g GROUP_NAME
Examples:
grpassign /n Alex Yeoh /g Experienced
grpassign /n Betsy Crowe /g Students
grpunassignRemoves an existing contact from an existing contact group.
Format: grpunassign /n NAME /g GROUP_NAME
Examples:
grpunassign /n Alex Yeoh /g Experiencedgrpunassign /n Betsy Crowe /g StudentscmpaddAdds a company to the HitList.
Format: cmpadd /c COMPANY_NAME /d COMPANY_DESCRIPTION
/ or start with spaces.Examples:
cmpadd /c Google /d Tech giant
cmpadd /c Meta /d Social media giant
cmpdelDeletes the specified company from HitList.
Format: cmpdel /c COMPANY_NAME
Example:
cmpdel /c Google deletes a company named Google from hitList.cmpdel /c Meta deletes a company named Meta from hitList.cmplistShows a list of all companies in the hitList.
Format: cmplist
roleaddAdds a role to a specified existing company in the HitList.
Format: roleadd /r ROLE_NAME /d ROLE_DESCRIPTION /c COMPANY_NAME
/ or start with spaces.Examples:
roleadd /r Quality Assurance Engineer /d Ensures software products meet quality standards by developing test plans /c Google Inc. adds a role named Quality Assurance Engineer to the company Google.
roleadd /r DevOps Engineers /d Manages infrastructure and automates deployment processes, bridging the gap between development and IT operations /c Meta Platforms, Inc. adds a role named DevOps Engineers to the company Meta.
roledelDeletes a role from a specified existing company in the HitList.
Format: roledel /r ROLE_NAME /c COMPANY_NAME or roledel INDEX /c COMPANY_NAME
Examples:
roledel /r "Quality Assurance Engineer" /c Google Inc. deletes the role named Quality Assurance Engineer from the company Google Inc.
roledel 1 /c Meta Platforms, Inc. deletes the first role listed in the company Meta Platforms, Inc.'s role list.
clearClears all entries from the HitList.
Format: clear
[!CAUTION] This command deletes all contacts, contact groups, companies, and roles from the HitList. Use with caution. The action is irreversible and there is no confirmation prompt before the action is executed.
exitExits the program.
Format: exit
HitList data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
HitList data are saved automatically as a JSON file [JAR file location]/data/hitlist.json.
Advanced users are welcome to update data directly by editing that data file.
Caution: If your changes to the data file make its format invalid, HitList 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 HitList to behave in unexpected ways, for example, 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.
[coming in v2.0]Details coming soon ...
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 HitList home folder.
preferences.json file created by the application before running the application again.| Action | Format | Examples |
|---|---|---|
| Getting Help | help | help |
| Add contact | add /n NAME /p PHONE_NUMBER [/e EMAIL] [/a ADDRESS] | add /n Betsy Crowe /p 87654321 /e betsy.crowe@gmail.com /a 321, Clementi Rd, 123465 |
| Delete contact | delete INDEX\ndelete /n NAME | delete 3\ndelete /n David Li |
| Edit contact | edit INDEX [/n NAME] [/p PHONE_NUMBER] [/e EMAIL] [/a ADDRESS] | edit 2 /n James Lee /e jameslee@example.com |
| List contacts | list | list |
| Find contact(s) | find [KEYWORD]... | find John |
| Add contact group | grpadd /g GROUP_NAME | grpadd /g Students |
| Delete contact group | grpdel /g GROUP_NAME | grpdel /g Students |
| List contact groups | grplist | grplist |
| List contacts in group | grplist /g GROUP_NAME | grplist /g Students |
| Assign contact to group | grpassign /n NAME /g GROUP_NAME | grpassign /n Alex Yeoh /g Students |
| Unassign contact from group | grpunassign /n NAME /g GROUP_NAME | grpunassign /n Alex Yeoh /g Students |
| Add Company | cmpadd /c COMPANY_NAME /d COMPANY_DESCRIPTION | cmpadd /c Google /d Tech giant |
| Delete Company | cmpdel /c COMPANY_NAME | cmpdel /c Google |
| List Companies | cmplist | cmplist |
| Add Role to Company | roleadd /r ROLE_NAME /d ROLE_DESCRIPTION /c COMPANY_NAME | roleadd /r Software Tester /d Tests provided software /c Google Inc. |
| Delete Role from Company | roledel /r ROLE_NAME /c COMPANY_NAME or roledel INDEX /c COMPANY_NAME | roledel /r "Software Engineer" /c Google Inc.roledel 1 /c Google Inc. |
| Clear | clear | clear |
| Exit | exit | exit |