@@ -0,0 +1,913 @@
+package seedu.address.logic.parser;%0A%0Aimport static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;%0A%0Aimport java.util.Optional;%0A%0Aimport seedu.address.logic.commands.Command;%0Aimport seedu.address.logic.commands.FinishCommand;%0Aimport seedu.address.logic.commands.IncorrectCommand;%0A%0A/**%0A * Parses input arguments and creates a new DeleteCommand object%0A */%0Apublic class FinishCommandParser %7B%0A%0A    /**%0A     * Parses the given %7B@code String%7D of arguments in the context of the DeleteCommand%0A     * and returns an DeleteCommand object for execution.%0A     */%0A    public Command parse(String args) %7B%0A%0A        Optional%3CInteger%3E index = ParserUtil.parseIndex(args);%0A        if (!index.isPresent()) %7B%0A            return new IncorrectCommand(%0A                    String.format(MESSAGE_INVALID_COMMAND_FORMAT, FinishCommand.MESSAGE_USAGE));%0A        %7D%0A%0A        return new FinishCommand(index.get());%0A    %7D%0A%0A%7D%0A

add FinishCommandParser