package seedu.task.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 MESSAGE_SUCCESS = "Listed all persons";


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

@@ -47,22 +47,20 @@
 sts all 
-person
+task
 s in the
@@ -254,14 +254,12 @@
 all 
-person
+task
 s%22;%0A

Refactor ListCommand