LittleLogBook 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, LittleLogBook can get your contact management tasks done faster than traditional GUI apps.
Ensure you have Java 17
or above installed in your Computer.
Mac users: Ensure you have the precise JDK version prescribed here.
Download the latest .jar
file from here.
Copy the file to the folder you want to use as the home folder for your LittleLogBook.
Open and navigate to your jar file using command terminal:
What is cd
? cd
stands for "change directory" - it's a command that lets you navigate to different folders on your computer through the command line.
Step-by-step instructions:
For Windows users:
Windows key + R
, type cmd
, and press Enter to open Command Promptcd
followed by a space, then the full path to your jar file foldercd C:\Users\YourName\Desktop\LittleLogBook
(replace with your actual folder path)java -jar littlelogbook.jar
and press Enter to run the applicationFor Mac/Linux users:
Cmd + Space
(Mac) or Ctrl + Alt + T
(Linux) to open Terminalcd
followed by a space, then the full path to your jar file foldercd /Users/YourName/Desktop/LittleLogBook
(replace with your actual folder path)java -jar littlelogbook.jar
and press Enter to run the applicationAlternative method (easier for beginners):
littlelogbook.jar
using your file explorerjava -jar littlelogbook.jar
and press EnterA 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.
Some example commands you can try:
add n/John Doe p/98765432 e/john.doe@gmail.com c/student
: Adds a contact named John Doe
with category student
to LittleLogBook.
delete n/John Doe
: Deletes the contact named John Doe
.
view n/John Doe
: Shows full details of the contact named John Doe
.
search John
: Searches for contacts with names containing John
.
exit
: Exits the app.
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
.
Parameters can be in any order.
e.g. if the command specifies n/NAME p/PHONE
, p/PHONE 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.
help
Shows a message explaining how to access the help page.
Format: help
add
Purpose: Allows teachers to create a new contact entry (student, colleague).
Format: add n/NAME p/PHONE e/EMAIL c/CATEGORY
Parameters & Validation Rules:
student
, colleague
(case-insensitive). Error if invalid category.Duplicate Handling:
Duplicate if name + phone already exist (case-insensitive). If detected, error message: Duplicate contact detected.
Examples:
add n/John Doe p/98765432 e/john.doe@gmail.com c/student
add n/Mary Tan p/91234567 e/marytan@e.nut.edu c/colleague
Outputs:
New <CATEGORY> added
delete
Purpose: Remove outdated or incorrect contacts.
Format: delete n/NAME
Parameters & Validation Rules:
Examples:
delete n/John Doe
Outputs:
<CATEGORY> deleted
No contact found with name John Doe
Multiple contacts found. Use more details
view
Purpose: Show full information of a contact (including notes, attendance).
Format: view n/NAME
Parameters & Validation Rules:
Examples:
view n/John Doe
Outputs:
Contact not found
Multiple contacts found. Use more details for name
Unable to load contact details
search
Purpose: Allows teachers to find contacts quickly with partial names.
Format: search KEYWORD
Parameters & Validation Rules:
Examples:
search John
search Tan
Outputs:
No contacts found for "Tan"
note
Purpose: Store additional info (student progress, allergies, parent instructions).
Format: note n/NAME t/NOTE_TEXT
Parameters & Validation Rules:
Examples:
note n/John Doe t/Allergic to peanuts
note n/Mary Tan t/Improved in reading this week
Outputs:
<CATEGORY> DETAILS edited
No contact found
Note text cannot be empty
Unable to save note. Try again
list
Shows a list of all contacts in LittleLogBook.
Format: list
clear
Clears all entries from LittleLogBook.
Format: clear
exit
Exits the program.
Format: exit
LittleLogBook data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.
LittleLogBook data are saved automatically as a JSON file [JAR file location]/data/littlelogbook.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, LittleLogBook 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 LittleLogBook 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.
[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 LittleLogBook home folder.
preferences.json
file created by the application before running the application again.help
command (or use the Help
menu, or the keyboard shortcut F1
) again, the original Help Window will remain minimized, and no new Help Window will appear. The remedy is to manually restore the minimized Help Window.Action | Format, Examples |
---|---|
Add | add n/NAME p/PHONE e/EMAIL c/CATEGORY e.g., add n/John Doe p/98765432 e/john.doe@gmail.com c/student |
Delete | delete n/NAME e.g., delete n/John Doe |
View | view n/NAME e.g., view n/John Doe |
Search | search KEYWORD e.g., search John |
Note | note n/NAME t/NOTE_TEXT e.g., note n/John Doe t/Allergic to peanuts |
List | list |
Clear | clear |
Help | help |
Exit | exit |