Only generate the commands and enums used be a given version+extensions