Skip to content

Commit

Permalink
Added self edit command parser to address book parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ChooJeremy committed Nov 1, 2018
1 parent ef951b6 commit 4ce7728
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import seedu.address.logic.commands.PasswordCommand;
import seedu.address.logic.commands.RedoCommand;
import seedu.address.logic.commands.SelectCommand;
import seedu.address.logic.commands.SelfEditCommand;
import seedu.address.logic.commands.UndoCommand;
import seedu.address.logic.commands.ViewPermissionCommand;
import seedu.address.logic.parser.exceptions.ParseException;
Expand Down Expand Up @@ -116,6 +117,9 @@ public Command parseCommand(String userInput) throws ParseException {
case ViewPermissionCommand.COMMAND_WORD:
return new ViewPermissionCommandParser().parse(arguments);

case SelfEditCommand.COMMAND_WORD:
return new SelfEditCommandParser().parse(arguments);

default:
throw new ParseException(MESSAGE_UNKNOWN_COMMAND);
}
Expand Down

0 comments on commit 4ce7728

Please sign in to comment.