Skip to the content.

User Guide

Introduction

JustBook: An easy-to-use Appointment CLI App

Quick Start

  1. Ensure that you have Java 11 or above installed.
  2. Download the latest version of JustBook App into your local folder from here.
  3. Open up a command or terminal window, e.g. Windows Terminal (recommended), from inside the folder or
  4. cd to your local folder in your terminal

Features

Program designed for someone who are avid keyboarders, for Single User use.

Load application: java -jar justbook.jar

Load application and all records from previous session (if any) inside the JustBook application.

Format: java -jar justbook.jar

Example of usage

java -jar justbook.jar

By calling this command, the JustBook application will load.

Adding a booking: add

Adds a new item to the list of booking items.

Format: add BOOKING_DESC /s DATE TIME /e DATE TIME

Example of usage

add meet@Sports Hall One lvl 3 /s 2021-6-7 09:00 /e 2021-6-7 10:30

todo attend IT Exhibit Changi Expo Halls /s 2021-06-07 11:00 /e 2021-06-07 13:30

Blocking date-range setting: block <DATE> <DATE>

Blocks users from creating appointments during a specific date range.

Format: block DATE DATE

Example of usage

block 2021-11-5 2021-11-30

Deleting all bookings: del --all>

Erase all records inside the online appointment database.

Format: del --all

Example of usage

del a

Deleting a single booking: del <DATE> /o <OPTION_NUM>

Erase all records inside the online appointment database.

Format: del DATE /o OPTION_NUM

Example of usage This will delete the first appointment that starts on 10th Oct 2020. del 2020-10-10 /o 1

Deleting a single booking: help

Erase all records inside the online appointment database.

Format: help

Example of usage By calling this command, the cheatsheet of commands will appear, allowing help

Delete appointments within date-range: del /b <DATE> <DATE>

Delete all records within specified date range.

Format: del /b STARTDATE ENDDATE

Example of usage

del /b 2021-11-5 2021-11-30

Save all appointments details up to this point: save

Save all records up to this point.

Format: save

Example of usage

save

Editing a booking: edit

Edits the booking description of the chosen item.

Format: edit BOOKING_DESC /s DATE /o OPTION NO.

Example of usage

edit meet@Sports Hall One lvl 3 /s 2021-6-7 /o 3

edit attend Exhibit A /s 2021-06-07 /o 1

Exiting Program: exit

Exits the JustBook App Program.

Format: exit

Example of usage

exit or bye

Showing all bookings: show <--all>

Displays all database records, headed by distinct dates header, in chronological order.

Format: show -all

Example of usage

show a

Show appointments within date-range: show /b <DATE> <DATE>

Display all records within specified date range.

Format: show /b STARTDATE ENDDATE

Example of usage

show /b 2021-11-5 2021-11-30

Showing a specific date’s list of bookings: show <DATE>

Displays all records chronologically, under a specific date header.

Format: show DATE

Example of usage

show 2021-11-8

Showing all weekends bookings (current month): show <WEEKENDS>

Displays all weekend records chronologically, under specific weekend headers, for the current month.

Format: show WEEKENDS

Example of usage

show we

Unlocking date-range setting: unblock <DATE> <DATE>

Releases blocked dates during the range period as specified by users.

Format: unblock DATE DATE

Example of usage

unblock 2021-11-5 2021-11-30

Undeleting a previous online database delete action: undel <--all>

Restore all records from offline appointment database up to current moment.

Format: undel --all

Example of usage

undel a

FAQ

Q: How do I show all the bookings done for a range of days?

A: you can refer to the Show all bookings within two date in the Command Summary.

Q: How do I delete all the bookings done for a range of days?

A: you can refer to the Delete all bookings within two date in the Command Summary.

Q: How do I save all the bookings’ modifications (incl. deletes) to offline database backup file on the go?

A: you can simply key in save.

Command Summary

[ ‘Cheat Sheet’ of CLI COMMANDS - case-sensitive ]