package seedu.emeraldo.logic.commands;

public class UndoCommand extends Command {

    public static final String COMMAND_WORD = "undo";

    public UndoCommand(){}
    
    @Override
    public CommandResult execute() {
        // TODO Auto-generated method stub
        return null;
    }

}

package seedu.emeraldo.logic.commands;

public class UndoCommand extends Command {

    public static final String COMMAND_WORD = "undo";
    public static final String MESSAGE_SUCCESS = "Undo successful!";

    public UndoCommand() {}
    
    @Override
    public CommandResult execute() {
        
        
        return new CommandResult(MESSAGE_SUCCESS);
    }

}

Add message success template