package seedu.jimi.logic.commands;

import seedu.jimi.model.task.FloatingTask;

/**
 * 
 * @author zexuan
 *
 * Edits an existing task/event in Jimi.
 */
public class EditCommand extends Command{

    public static final String COMMAND_WORD = "add";

    public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits an existing task/event in Jimi. "
            + "Parameters: NAME p/PHONE e/EMAIL a/ADDRESS  [t/TAG]...\n"
            + "Example: " + COMMAND_WORD
            + " edit 2 by 10th july at 12 pm";

    public static final String MESSAGE_SUCCESS = "New task added: %1$s";
    public static final String MESSAGE_DUPLICATE_TASK = "This task already exists in Jimi";

    private final FloatingTask toAdd;

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

}

@@ -237,19 +237,20 @@
 WORD = %22
-add
+edit
 %22;%0A%0A    
@@ -354,81 +354,8 @@
 . %22%0A
-            + %22Parameters: NAME p/PHONE e/EMAIL a/ADDRESS  %5Bt/TAG%5D...%5Cn%22%0A
     
@@ -410,14 +410,8 @@
  + %22
- edit 
 2 by
@@ -416,17 +416,17 @@
 by 10th 
-j
+J
 uly at 1
@@ -636,18 +636,14 @@
 k to
-Add;%0A%0A    
+Edit;%0A
 %0A   

Refactor minor details for editCommand