package uk.co.eluinhost.ultrahardcore.commands.teststructure;

public class TestCommand {

    @Command(name="test", id="test-root", allowedTypes = {SenderType.CONSOLE, SenderType.REMOTE_CONSOLE})
    public void testCommandMethod(CommandRequest request){
        //TODO
    }

    @Command(name="subtest1", id="test-sub-1", parentID = "test-root", allowedTypes = {SenderType.CONSOLE, SenderType.REMOTE_CONSOLE})
    public void testCommandMethod2(CommandRequest request){
        //TODO
    }

    @Command(name="subtest2", id="test-sub-2", parentID = "test-root", allowedTypes = {SenderType.CONSOLE, SenderType.REMOTE_CONSOLE})
    public void testCommandMethod3(CommandRequest request){
        //TODO
    }
}

@@ -84,16 +84,79 @@
 mand %7B%0A%0A
+    /**%0A     * runs with '/test'%0A     * @param request%0A     */%0A
     @Com
@@ -160,20 +160,23 @@
 Command(
-name
+trigger
 =%22test%22,
@@ -182,84 +182,35 @@
 , id
-=%22test-root%22, allowedTypes = %7BSenderType.CONSOLE, SenderType.REMOTE_CONSOLE%7D
+entifier=%22TestCommand-root%22
 )%0A  
@@ -265,38 +265,87 @@
 equest)%7B
+%7D%0A
 %0A    
-    //TODO%0A    %7D%0A
+/**%0A     * runs with '/test sub-1'%0A     * @param request%0A     */
 %0A    @Co
@@ -354,33 +354,48 @@
 and(
-name
+trigger
 =%22sub
-test
+-
 1%22, id
+entifier
 =%22
-t
+T
 est
+Command
 -sub
@@ -415,82 +415,25 @@
  = %22
-test-root%22, allowedTypes = %7BSenderType.CONSOLE, SenderType.REMOTE_CONSOLE%7D
+TestCommand-root%22
 )%0A  
@@ -489,38 +489,87 @@
 equest)%7B
+%7D%0A
 %0A    
-    //TODO%0A    %7D%0A
+/**%0A     * runs with '/test sub-2'%0A     * @param request%0A     */
 %0A    @Co
@@ -578,33 +578,48 @@
 and(
-name
+trigger
 =%22sub
-test
+-
 2%22, id
+entifier
 =%22
-t
+T
 est
+Command
 -sub
@@ -639,82 +639,25 @@
  = %22
-test-root%22, allowedTypes = %7BSenderType.CONSOLE, SenderType.REMOTE_CONSOLE%7D
+TestCommand-root%22
 )%0A  
@@ -717,28 +717,8 @@
 st)%7B
-%0A        //TODO%0A    
 %7D%0A%7D%0A

update examples