package com.kierdavis.ultracommand;

import com.kierdavis.flex.FlexCommandContext;
import com.kierdavis.flex.FlexHandler;

public class CommandHandler {
    private UltraCommand plugin;
    
    public CommandHandler(UltraCommand plugin_) {
        plugin = plugin_;
    }
    
    @FlexHandler("ultracommand add")
    public boolean doAdd(FlexCommandContext ctx) {
        ctx.getSender().sendMessage("Hooray, it works!");
        return true;
    }
}

@@ -306,16 +306,53 @@
 and add%22
+, permission=%22ultracommand.configure%22
 )%0A    pu

Utilise Flex's new validation elements