package seedu.jimi.commons.core;

import seedu.jimi.commons.util.CommandUtil;

/**
 * Container for user visible messages.
 */
public class Messages {
    public static final String MESSAGE_ALL_AVAIL_CMD = 
            "> All available commands: " + CommandUtil.getInstance().commandsToString();
    public static final String MESSAGE_UNKNOWN_COMMAND = 
            "Unknown command - \"%1$s\" \n"
            + MESSAGE_ALL_AVAIL_CMD;
    public static final String MESSAGE_INVALID_COMMAND_FORMAT = "Invalid command format! \n%1$s";
    public static final String MESSAGE_INVALID_TASK_DISPLAYED_INDEX = "The index provided is invalid.";
    public static final String MESSAGE_TASKS_LISTED_OVERVIEW = "%1$d task(s) listed!";
    public static final String MESSAGE_INVALID_DATE = 
            "Date and time are invalid!\n" 
            + "> Tip: try avoiding keywords like `on`, `to` and `due` in your dates and times.\n" 
            + "> You might confuse Jimi!";
    public static final String MESSAGE_START_END_CONSTRAINT = "Start date/time needs to be prior to end date/time!";
    public static final String MESSAGE_WELCOME_JIMI = 
            "Welcome to Jimi, the task manager for people like Jim. \n"
            + "\n"
            + "Let's get started! Try these commands out: \n"
            + MESSAGE_ALL_AVAIL_CMD + "\n"
            + "\n"
            + "To get help for a specific command, type 'help COMMAND_WORD' e.g. 'help add' \n"
            + "To get detailed help for all commands, type 'help' to visit our user guide.";
}

@@ -595,16 +595,28 @@
 _INDEX =
+%0A           
  %22The in
@@ -639,16 +639,58 @@
 invalid.
+ 't1', 'e4' are examples of valid indices.
 %22;%0A    p

Update invalid index message