Less tool = new Less();
tool.createDefaultCommands();
tool.addCommand(new RendererCommand(tool, format));
tool.addCommand(new ModelsCommand(format, buffer, tool));
if (format.supportsEvents()) {
tool.addCommand(new SelectEventCommand(format, tool));
}
if (format.supportsRequests()) {
tool.addCommand(new SelectRequestCommand(format, tool));
}