View on GitHub

duke

Starter code for the Duke project

duke - User Guide

duke is a personal task tracker that stores and records your to-dos, deadlines and events.This user guide demonstrates how to set up duke and how use the basic features of duke.

Setting Up

  1. Extract the jar folder into an empty folder
  2. Enter your preferred terminal and move to the location of the folder
  3. Run the Command-Line interface(CLI) with java -jar duke.jar in your terminal Setting up duke

Features

Command Format

Words enclosed by { and } are parameters that are supplied by you.

Task types

To-Dos (Represented by [T])
Event (Represented by [E])
Deadline (Represented by [D])

     

Usage

 

todo - Adds a todo task to your list

Syntax:

todo {TASK DESCRIPTION}

Example of usage:

todo return book

Expected outcome:

Adding ToDo task    

deadline - Adds a deadline task to your list

Syntax:

deadline {TASK DESCRIPTION} /by {DEADLINE}

Example of usage:

deadline submit assignment /by 20th Jan 2019

Expected outcome:

Adding Deadline task      

event - Adds an Event task to your list

Syntax:

event {TASK DESCRIPTION} /at {LOCATION/TIME}

Example of usage:

event project meeting /at NUS SOC 2pm

Expected outcome:

Adding Event task      

list - Displays all your tasks

Syntax:

list

Expected outcome:

Listing all tasks        

done - Marks task as completed based on specified index

Syntax:

done {TASK INDEX}

Example of usage:

done 3

Expected outcome:

Marking tasks as completed      

delete - Deletes task from list based on specified index

Syntax:

delete {TASK INDEX}

Example of usage:

delete 1

Expected outcome:

Deleting tasks      

find - Finds task from list based on search query

Syntax:

find {SEARCH QUERY}

Example of usage:

find assignment

Expected outcome:

Finding tasks      

help - Displays all the commands

Syntax:

help

Expected outcome:

help          

bye - Terminates program

Syntax:

bye

Expected outcome:

bye