@@ -0,0 +1,800 @@
+package udo.logic.command;%0A%0Aimport udo.logic.Logic;%0A%0Apublic class ConfirmCommand extends Command %7B%0A    @Override%0A    public boolean isValid() %7B%0A        return super.isValid();%0A    %7D%0A%0A    @Override%0A    public boolean execute() %7B%0A        if (!super.execute()) %7B%0A            return false;%0A        %7D%0A%0A        assert(argIndex != null);%0A        Integer storageIndex = getStorageIndex(argIndex);%0A        assert(storageIndex != null);%0A%0A        // TODO: call the correct confirm api from storage%0A        boolean isSuccessful = storage.markDone(storageIndex);%0A        if (!isSuccessful) %7B%0A            setStatus(Logic.formatErrorStr(Logic.ERR_STORAGE));%0A        %7D%0A%0A        return isSuccessful;%0A    %7D%0A%0A    @Override%0A    protected boolean parseArg(String arg) %7B%0A        return parseIndexContentPair(arg);%0A    %7D%0A%7D%0A

Add confirm command class