//@@author A0144939R
package seedu.task.commons.logic;

import java.util.Arrays;
import java.util.HashMap;
import java.util.stream.Collectors;

/**
 * Represents all commands in the TaskManager
 * @author advaypal
 *
 */
public class CommandKeys {
    
    public enum Commands {
        ADD("add"),
        ALIAS("alias"),
        CLEAR("clear"),
        COMPLETE("complete"),
        CHANGE_TO("change-to"),
        DELETE("delete"),
        EXIT("exit"),
        FIND("find"),
        HELP("help"),
        LIST("list"),
        PIN("pin"),
        SEARCH_BOX("searchbox"),
        SELECT("select"),
        UNDO("undo"),
        UPDATE("update"),
        UNCOMPLETE("uncomplete"),
        UNPIN("unpin");
        
        private String value;
        
        Commands(String command) {
            this.value = command;
        }
       
    }
    //create hashmap from command names to ENUM values
    public static final HashMap<String, Commands> commandKeyMap = (HashMap<String, Commands>) Arrays.stream(Commands.values()).collect(Collectors.toMap(command -> command.value, command -> command));
    
}

@@ -469,24 +469,54 @@
 ND(%22find%22),%0A
+        FIND_TAG(%22find-tag%22),%0A
         HELP

Add find-tag command