package seedu.taskboss.logic.parser;

public class MarkDoneCommandParser {

}

@@ -35,44 +35,655 @@
 r;%0A%0A
-public class MarkDoneCommandParser %7B%0A
+import static seedu.taskboss.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;%0A%0Aimport java.util.Optional;%0A%0Aimport seedu.taskboss.logic.commands.Command;%0Aimport seedu.taskboss.logic.commands.IncorrectCommand;%0Aimport seedu.taskboss.logic.commands.MarkDoneCommand;%0A%0Apublic class MarkDoneCommandParser %7B%0A%0A    public Command parse(String args) %7B%0A        Optional%3CInteger%3E index = ParserUtil.parseIndex(args);%0A        if (!index.isPresent()) %7B%0A            return new IncorrectCommand(%0A                    String.format(MESSAGE_INVALID_COMMAND_FORMAT, MarkDoneCommand.MESSAGE_USAGE));%0A        %7D%0A%0A        return new MarkDoneCommand(index.get());%0A    %7D
 %0A%7D%0A

implement MarkDoneCommandParser class