package seedu.address.logic.parser;

import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS;
import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.address.logic.parser.CliSyntax.PREFIX_PHONE;
import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG;

import java.util.NoSuchElementException;

import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.logic.commands.AddCommand;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.IncorrectCommand;

/**
 * Parses input arguments and creates a new AddCommand object
 */
public class AddCommandParser {

    /**
     * Parses the given {@code String} of arguments in the context of the AddCommand
     * and returns an AddCommand object for execution.
     */
    public Command parse(String args) {
        ArgumentTokenizer argsTokenizer =
                new ArgumentTokenizer(PREFIX_PHONE, PREFIX_EMAIL, PREFIX_ADDRESS, PREFIX_TAG);
        argsTokenizer.tokenize(args);
        try {
            return new AddCommand(
                    argsTokenizer.getPreamble().get(),
                    argsTokenizer.getValue(PREFIX_PHONE).get(),
                    argsTokenizer.getValue(PREFIX_EMAIL).get(),
                    argsTokenizer.getValue(PREFIX_ADDRESS).get(),
                    ParserUtil.toSet(argsTokenizer.getAllValues(PREFIX_TAG))
            );
        } catch (NoSuchElementException nsee) {
            return new IncorrectCommand(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AddCommand.MESSAGE_USAGE));
        } catch (IllegalValueException ive) {
            return new IncorrectCommand(ive.getMessage());
        }
    }

}

@@ -170,23 +170,19 @@
 .PREFIX_
-ADDRESS
+TAG
 ;%0Aimport
@@ -233,21 +233,18 @@
 .PREFIX_
-EMAIL
+ID
 ;%0Aimport
@@ -295,19 +295,22 @@
 .PREFIX_
-PHO
+DEADLI
 NE;%0Aimpo
@@ -363,19 +363,27 @@
 .PREFIX_
-TAG
+DESCRIPTION
 ;%0A%0Aimpor
@@ -1016,19 +1016,22 @@
 (PREFIX_
-PHO
+DEADLI
 NE, PREF
@@ -1033,21 +1033,27 @@
  PREFIX_
-EMAIL
+DESCRIPTION
 , PREFIX
@@ -1053,23 +1053,18 @@
  PREFIX_
-ADDRESS
+ID
 , PREFIX
@@ -1266,11 +1266,14 @@
 FIX_
-PHO
+DEADLI
 NE).
@@ -1333,13 +1333,19 @@
 FIX_
-EMAIL
+DESCRIPTION
 ).ge
@@ -1403,15 +1403,10 @@
 FIX_
-ADDRESS
+ID
 ).ge

Modify AddCommandParser class