public Object doCall(Object[] args) {
assert(args.length == 1);
assert(args[0] instanceof Shell);
Shell shell = (Shell)args[0];
XmlCommandRegistrar r = new XmlCommandRegistrar(shell, cl);
r.register(GroovyshCommand.class.getResource("commands.xml"));
return null;
}
};
Groovysh shell = new Groovysh(cl, binding, io, registrar);