package t16b4.yats.logic.commands;


/**
 * Lists all persons in the address book to the user.
 */
public class ListCommand extends Command {

    public static final String COMMAND_WORD = "list";
    public static final String COMMAND_WORD_SUFFIX_TITLE = "list title";
    public static final String COMMAND_WORD_SUFFIX_DATE = "list date";
    public static final String COMMAND_WORD_SUFFIX_TAG = "list tag";

    public static final String MESSAGE_SUCCESS = "Listed all items";


    @Override
    public CommandResult execute() {
        model.updateFilteredListToShowAll();
        return new CommandResult(MESSAGE_SUCCESS);
    }
}

@@ -190,16 +190,78 @@
 %22list%22;%0A
+    public static final String COMMAND_WORD_EXTENTION = %22by%22;%0A
     publ
@@ -312,21 +312,16 @@
 ITLE = %22
-list 
 title%22;%0A
@@ -376,24 +376,97 @@
 IX_D
-ATE = %22list date
+EADLINE = %22deadline%22;%0A    public static final String COMMAND_WORD_SUFFIX_TIMING = %22timing
 %22;%0A 
@@ -526,13 +526,8 @@
  = %22
-list 
 tag%22

Add more command extension and suffix