package seedu.tasklist.logic.commands;

/**
 * Shows all tasks that fulfill the category keyword.
 * Keyword matching is case insensitive.
 */
public class ShowCommand extends Command {

    public static final String COMMAND_WORD = "show";

    public static final String MESSAGE_USAGE = COMMAND_WORD + ": Shows all tasks under the requested category. "
            + "The specified keywords (case-insensitive) are shown as a list with index numbers.\n"
            + "Parameters: KEYWORD (all, incomplete, complete, p/[PRIORITY]\n"
            + "Example: " + COMMAND_WORD + " all";

    public static final String MESSAGE_SHOW_FAILURE = "Invalid category. Available categories: all, incomplete, complete, p/[PRIORITY]";
    public static final String MESSAGE_SUCCESS = "Shown requested tasks.";
    private final String keyword;
    
    public ShowCommand(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public CommandResult execute() {
        if (keyword.equals("all")) {
            model.updateFilteredListToShowAll();
        }
        else if (keyword.equalsIgnoreCase("complete")) {
            model.updateFilteredListToShowComplete();
        }
        else if (keyword.equalsIgnoreCase("p/high") || keyword.equalsIgnoreCase("p/normal") || keyword.equalsIgnoreCase("p/low")){
            model.updateFilteredListToShowPriority(keyword);
        }
        else {
        	return new CommandResult(String.format(MESSAGE_SHOW_FAILURE));
        }
    	
        return new CommandResult(String.format(getMessageForPersonListShownSummary(model.getFilteredPersonList().size())));
    }
}
@@ -1049,32 +1049,147 @@
 ll();%0A        %7D%0A
+        else if (keyword.equals(%22incomplete%22)) %7B%0A            model.updateFilteredListToShowIncomplete();%0A        %7D%0A
         else if 

Add incomplete category into showcommand