James Moger
2014-04-17 8cbdf3ff0883c54f2bb0b87ee86d7984d83822eb
src/site/plugins_extensions.mkd
@@ -75,14 +75,14 @@
public class MyDispatcher extends DispatchCommand {
    @Override
    protected void setup(UserModel user) {
    protected void setup() {
        // commands in this dispatcher
        register(user, CommandA.class);
        register(user, CommandB.class);
        register(CommandA.class);
        register(CommandB.class);
        // nested dispatchers
        register(user, SubDispatcher1.class);
        register(user, SubDispatcher2.class);
        register(SubDispatcher1.class);
        register(SubDispatcher2.class);
    }
    @CommandMetaData(name = "commanda", aliases = { "ca" }, description = "description of command a")