package com.epictodo;

import com.epictodo.engine.NLPEngine;
import com.epictodo.engine.WorkDistributor;

import java.util.Scanner;


public class Main {
	// COMMAND INPUT
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
        NLPEngine _nlp = new NLPEngine();
        _nlp.mute();

		WorkDistributor.loadData();
		bannerDisplay();
		while(true){
			display("\nEnter your command:");
			String instruc = sc.nextLine();
			display(WorkDistributor.proceedInstruc(instruc));
		}
	}
	
	public static void helpmenu(){
		displayLine("Add:\tAdd, ++, F1 <TaskName> <Date> <Time> <Duration>\n"
		+"Find:\tFind, Search, F2 <Keywords>\n"
		+"Update:\tUpdate, Change, F3 <TaskName>.....\n"
		+"Delete:\tDelete, --, Remove, F4<TaskName>\n"
		+"Undo:\tundo\n"
		+"Reminder:\tNotif, Reminder, !! <TaskName> <HoursBefore>\n"
		+"Description:\tDesc, // <TaskName> <Desc>\n"
		+"Menu:\tMenu, Home\n\n"
		+"Press Enter to Menu");
	}
	
	public static void bannerDisplay(){
		displayLine("___________      .__         ___________        ___     \n"+
		"\\_   _____/_____ |__| ____   \\__    ___/___   __| _/____ \n"+
		" |  ____)_\\____ \\|  |/ ___\\    |    | /  _ \\ / __ |/  _ \\\n"+
		" |        \\  |_> >  \\  \\___    |    |(  <_> ) /_/ (  <_> \n"+
		"/_______  /   __/|__|\\___ >    |____| \\____/\\____ |\\____/ 	\n"+
		"        \\/|__|           \\/                      \\/       \n"+
		"");
	}
	
	public static void displayLine(String a){
		System.out.println(a);
	}
	public static void display(String a){
		System.out.print(a);
	}







	
	
	
	
	
}

@@ -379,25 +379,25 @@
 e(true)%7B%0A%09%09%09
-d
+D
 isplay(%22%5CnEn
@@ -455,17 +455,17 @@
 e();%0A%09%09%09
-d
+D
 isplay(W
@@ -544,25 +544,25 @@
 lpmenu()%7B%0A%09%09
-d
+D
 isplayLine(%22
@@ -988,17 +988,17 @@
 ay()%7B%0A%09%09
-d
+D
 isplayLi
@@ -1435,25 +1435,25 @@
 static void 
-d
+D
 isplayLine(S
@@ -1510,17 +1510,17 @@
 ic void 
-d
+D
 isplay(S

Revert "[V0.4] Updated Main.java - renamed methods to start with small letters"